canonical / pebble

Take control of your internal daemons!
https://canonical-pebble.readthedocs-hosted.com/
GNU General Public License v3.0
143 stars 54 forks source link

fix: snap release job run condition #333

Closed cjdcordeiro closed 9 months ago

cjdcordeiro commented 9 months ago

The current if: github.event_name == 'push' doesn't seem to be enough to make the release job run on push. I'm not entirely sure why this is, but I suspect it is because of its dependency's (test) run conditions.

This change makes the release run conditions explicit, instead of relying on the implicit behavior of needs: [test].