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

ci: Refine triggers to avoid replicated runs on PRs #173

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

farshidtz
Copy link
Member

@farshidtz farshidtz commented Aug 26, 2024

Currently, the snap gets built twice on PRs that intend to merge code from a local branch.

This change sets the branch for PR triggers to main, avoiding runs on pushes to other local branches in a PR.

Also, enables manual triggers.

@farshidtz farshidtz requested a review from locnnil August 26, 2024 07:51
@locnnil locnnil merged commit d8ecd8a into main Aug 26, 2024
1 check passed
@locnnil locnnil deleted the trigger-pr-main branch August 26, 2024 11:30
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