-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Introduce a gate/check GHA job #10315
Changes from all commits
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 |
---|---|---|
|
@@ -211,3 +211,17 @@ jobs: | |
fail_ci_if_error: true | ||
files: ./coverage.xml | ||
verbose: true | ||
|
||
check: # This job does nothing and is only used for the branch protection | ||
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. Let's give it a better name than check 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. Well, PyCA uses 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. Different name is fine, it's just thst check is absolutely useless in terms of deriving meaning given gh naming schemes Required-checks-agregate would be far more telling for example Also there is possibly a need to limit who can change the dependencies 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. Okay, I'll let the maintainers bikeshed on the name, then. 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. Ill give it a spin this evening |
||
if: always() | ||
|
||
needs: | ||
- build | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Decide whether the needed jobs succeeded or failed | ||
uses: re-actors/alls-green@198badcb65a1a44528f27d5da555c4be9f12eac6 | ||
with: | ||
jobs: ${{ toJSON(needs) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ this would have to go into the branch protection settings