-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
fix(ci): Fix GitHub workflow behavior for forks #23117
Conversation
It is equivalent to secrets.GITHUB_TOKEN but always available: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret
https://github.blog/changelog/2022-07-27-you-can-now-fork-a-repo-and-copy-only-the-default-branch/ https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository The default no longer includes other branches/tags
Codecov Report
@@ Coverage Diff @@
## master #23117 +/- ##
=======================================
Coverage 67.54% 67.54%
=======================================
Files 1881 1881
Lines 72396 72396
Branches 7882 7882
=======================================
Hits 48902 48902
Misses 21472 21472
Partials 2022 2022
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Seems reasonable to me, but would love a second opinion from others more intimately familiar with secret handling in actions.
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
SUMMARY
My forks match the behaviors of modern forks and trip on various issues...
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION