-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tim Beermann <[email protected]>
- Loading branch information
Tim Beermann
committed
Mar 21, 2023
1 parent
0219a8e
commit f767361
Showing
2 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Run GHOM | ||
|
||
"on": | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- 'main' | ||
paths: | ||
- 'ghom.yaml' | ||
|
||
jobs: | ||
run-ghom: | ||
permissions: write-all | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone current repository | ||
uses: actions/checkout@v3 | ||
# If you use this workflow on a private repository, uncommit this and adapt accordingly | ||
#with: | ||
# repository: tibeer/ghom | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Run ghom | ||
uses: tibeer/ghom@1 | ||
with: | ||
ghom_token: ${{ secrets.ghom_token }} | ||
# The default path of your ghom config file. Please note that this has to be an | ||
# absolute path (/github/workspace is the default path for your checked our repo) | ||
#ghom_config: '/github/workspace/ghom.yaml' | ||
# Enable debug mode. Do not perform any changes, only print what would be done. | ||
# Please note, that this might result in a few errors, because ghom requires | ||
# changes to be made for depencies (e.g. team-repos require repos to be available). | ||
#ghom_dry: 'False' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
allow_team_removal: true | ||
allow_team_repo_removal: true | ||
allow_team_member_removal: true | ||
allow_member_removal: true | ||
allow_label_removal: true | ||
allow_repository_removal: true | ||
owners: | ||
- tibeer | ||
- ra-beer | ||
members: [] | ||
teams: | ||
admins: | ||
description: "" | ||
private: false | ||
maintainers: | ||
- tibeer | ||
members: | ||
- ra-beer | ||
maintainers: | ||
description: "" | ||
private: false | ||
maintainers: | ||
- tibeer | ||
foo: | ||
description: "some description" | ||
private: false | ||
repository_defaults: | ||
has_wiki: false | ||
has_issues: true | ||
has_projects: false | ||
has_downloads: false # no idea, what this sets, cannot find it | ||
allow_squash_merge: true | ||
allow_merge_commit: false | ||
allow_rebase_merge: false | ||
delete_branch_on_merge: true | ||
homepage: "" | ||
description: "" | ||
private: false | ||
default_branch_protection: | ||
branch_name: main | ||
active: true | ||
required_pull_request_review_count: 0 # 1-6, 0 to disable | ||
required_pull_request_owner_review: true | ||
enforce_admins: false | ||
#allow_force_pushes: false # Not implemented yet in PyGithub | ||
default_teams: | ||
# permissions can be one of: pull, triage, push, maintain, admin | ||
admins: "admin" | ||
maintainers: "maintain" | ||
repositories: | ||
.github: | ||
description: "GHOM enabled!" | ||
homepage: "https://github.com/ghomtest" | ||
ansible_role_zuulci: | ||
description: "Ansible role for Zuul CI" | ||
deploy_zuulci: | ||
description: "Deploy Zuul-CI on OpenStack" | ||
zuul_config: | ||
description: "Configuration for your Zuul Gating System" | ||
zuul_demo_repo: | ||
description: "Demo repositoriy for Zuul CI usage" | ||
zuul_helm: | ||
zuul_secrets: | ||
description: "How to deal with secrets in zuul" | ||
zuul_setup_guide: | ||
description: "Getting started with Zuul-Ci and GitHub" | ||
labels: | ||
- name: bug | ||
description: "Something isn't working" | ||
color: d73a4a | ||
- name: documentation | ||
description: "Improvements or additions to documentation" | ||
color: 0075ca | ||
- name: duplicate | ||
description: "This issue or pull request already exists" | ||
color: cfd3d7 | ||
- name: enhancement | ||
description: "New feature or request" | ||
color: a2eeef | ||
- name: good first issue | ||
description: "Good for newcomers" | ||
color: 7057ff | ||
- name: help wanted | ||
description: "Extra attention is needed" | ||
color: 008672 | ||
- name: invalid | ||
description: "This doesn't seem right" | ||
color: e4e669 | ||
- name: question | ||
description: "Further information is requested" | ||
color: d876e3 | ||
- name: wontfix | ||
description: "This will not be worked on" | ||
color: ffffff |