canonical / docker-snap

https://snapcraft.io/docker
MIT License
54 stars 27 forks source link

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

Closed farshidtz closed 2 months ago

farshidtz commented 2 months ago

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.