-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix(.asf.yaml): discussions notification target + real check names in branch protection #3404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 4 commits
58d1bdd
2161021
4fdcf73
d8de7d8
fa08398
090465d
3785606
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # .asf.yaml — Apache Infra self-service config for github.com/apache/caldera | ||
| # .asf.yaml: Apache Infra self-service config for github.com/apache/caldera | ||
| # Reference: https://github.com/apache/infrastructure-asfyaml · https://infra.apache.org/asf-yaml.html | ||
| # This file lives at the repo ROOT and its `notifications:` block ONLY takes effect on the | ||
| # DEFAULT branch (master). Repo metadata/features (github:) are not branch-specific. | ||
|
|
@@ -19,7 +19,7 @@ notifications: | |
| github: | ||
| description: "Automated Adversary Emulation Platform" | ||
| homepage: https://caldera.apache.org/ # update from the old caldera.mitre.org | ||
| # NOTE: `labels:` REPLACES the repo's GitHub topics wholesale — keep the list intentional. | ||
| # NOTE: `labels:` REPLACES the repo's GitHub topics wholesale, so keep the list intentional. | ||
| labels: | ||
| - adversary-emulation | ||
| - security-automation | ||
|
|
@@ -49,19 +49,24 @@ github: | |
| dependabot_alerts: true | ||
| dependabot_updates: false | ||
|
|
||
| # --- OPTIONAL self-serve branch protection (enable once the project agrees on required checks) ---- | ||
| # --- Branch protection: 1 approving review + green CI required to merge to master ----------------- | ||
| protected_branches: | ||
| master: | ||
| required_pull_request_reviews: | ||
|
HackedRico marked this conversation as resolved.
|
||
| required_approving_review_count: 1 | ||
| dismiss_stale_reviews: true | ||
| required_status_checks: | ||
| strict: true | ||
| # Contexts are check-run (job) names as reported to GitHub, not workflow | ||
| # names. Require the hand-named aggregate job in each workflow rather than | ||
| # the generated "build (<python>, <toxenv>)" legs: those are renamed by any | ||
| # matrix edit, and a required context that stops reporting blocks every | ||
| # merge until Infra removes it by hand. | ||
| contexts: | ||
| - Code Quality | ||
| - Security Checks | ||
| - ci-required # .github/workflows/quality.yml, gates the 4 python legs | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as far as I know, this has to match the 'name' in the workflow - https://github.com/apache/caldera/blob/master/.github/workflows/quality.yml#L1 https://github.com/apache/infrastructure-asfyaml is the project to raise discussions/issues on |
||
| - security-required # .github/workflows/security.yml, gates safety + bandit | ||
| required_conversation_resolution: true | ||
| # # required_signatures: true # only if all committers sign commits — can block merges otherwise | ||
| # # required_signatures: true # only if all committers sign commits; can block merges otherwise | ||
| copilot_code_review: | ||
| enabled: true | ||
| review_drafts: false | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.