Skip to content

constrain the scheduled builds so that they only invoke on the apple/swift-log repo - #489

Open
heckj wants to merge 1 commit into
apple:mainfrom
heckj:main-workflow-repo-locked
Open

constrain the scheduled builds so that they only invoke on the apple/swift-log repo#489
heckj wants to merge 1 commit into
apple:mainfrom
heckj:main-workflow-repo-locked

Conversation

@heckj

@heckj heckj commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

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

…l repository and don't chew up GitHub action time from any forks
@heckj
heckj requested a review from FranzBusch July 22, 2026 20:50
@heckj heckj self-assigned this Jul 22, 2026
@heckj heckj added the semver/none No version bump required. label Jul 22, 2026
@czechboy0

Copy link
Copy Markdown
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.

@heckj

heckj commented Jul 23, 2026

Copy link
Copy Markdown
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.

@FranzBusch

Copy link
Copy Markdown
Member

I'm not sure yet. We would have to do this across all our repos for it to become truly effective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants