constrain the scheduled builds so that they only invoke on the apple/swift-log repo - #489
Open
heckj wants to merge 1 commit into
Open
constrain the scheduled builds so that they only invoke on the apple/swift-log repo#489heckj wants to merge 1 commit into
heckj wants to merge 1 commit into
Conversation
…l repository and don't chew up GitHub action time from any forks
Contributor
|
You can also disable actions on your fork in your fork's repo settings, under Actions, which won't require updating the upstream workflows. |
Contributor
Author
|
yeah, I did that first - but thought this would be sufficiently valuable for anyone else forking the repo down the road that it was worthwhile to submit for consideration. |
Member
|
I'm not sure yet. We would have to do this across all our repos for it to become truly effective. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Constrain the scheduled builds so that they only invoke on the apple/swift-log repo
Motivation:
I noticed that my fork was running nightly scheduled jobs - which didn't add any value, and chewed up my GH Actions resources.
Modifications:
adds a check-repository semaphore and has all the nightly scheduled jobs depend on checking it so that forks won't automatically build and run this jobs.
Result:
Nightly jobs for forks are only on request, not scheduled