-
Notifications
You must be signed in to change notification settings - Fork 139
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
ci: Prevent certain checks from running on forked PRs #16047
base: develop
Are you sure you want to change the base?
ci: Prevent certain checks from running on forked PRs #16047
Conversation
Node: HAPI Test (Restart) Results9 files 1 errors 8 suites 7m 50s ⏱️ For more details on these parsing errors, see this check. Results for commit d62de25. ♻️ This comment has been updated with latest results. |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #16047 +/- ##
==========================================
Coverage 63.65% 63.65%
Complexity 20447 20447
==========================================
Files 2538 2538
Lines 94927 94927
Branches 9919 9919
==========================================
Hits 60424 60424
Misses 30891 30891
Partials 3612 3612 |
2b822a9
to
3a70aef
Compare
@@ -51,6 +51,7 @@ jobs: | |||
egress-policy: audit | |||
|
|||
- name: Check PR Title | |||
if: ${{ !github.event.pull_request.base.repo.fork }} |
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.
We should check for the fork condition at the job level instead of at the individual step
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.
Done.
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 doesn't appear to have been updated. I'm moving it to the level under title-check
step so it will skip on the whole job.
ec1e411
to
9eab51e
Compare
Major updates:
|
1346368
to
14e60c3
Compare
**Description**: Add a check to any workflow file steps which use secrets.* token or default GITHUB_TOKEN. **Related Issue(s)**: Fixes #16004 Signed-off-by: Andrew Brandt <[email protected]>
60e7d2d
to
2128cab
Compare
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.
LGTM
Description:
Add a check for a forked repo to any workflow file steps which use secrets.* token or default GITHUB_TOKEN.
Related Issue(s):
Fixes #16004