Skip to content
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

Only run CI on PRs and push to main or releases #842

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Oct 4, 2021

Signed-off-by: Jason Hall [email protected]

Noticed while developing #839

With the previous config, CI would run in my forked repo on any push to a branch while iterating on a PR. Since this also ran CI while the PR was open on this repo, any failure would result in two notifications.

With this change, CI tests will only run on pushes to main or release branches, and on PRs to this repo or forked repos. Since most pushes to forked repos are (presumably) to non-main branches, this should only cause runs on active PRs.

Ticket Link

n/a

Release Note

NONE

Also enable manual runs

Also only verify docgen on pushes to main or release, and PRs

Signed-off-by: Jason Hall <[email protected]>
@dekkagaijin dekkagaijin merged commit 6c5c65f into sigstore:main Oct 4, 2021
@github-actions github-actions bot added this to the v1.3.0 milestone Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants