aquelemiguel / parrot

🦜 A hassle-free, highly performant, self-hosted Discord music bot with YouTube and Spotify support. Powered by yt-dlp.
MIT License
136 stars 44 forks source link

ci: implement usage of stepped workflow #215

Closed afonsojramos closed 1 year ago

afonsojramos commented 1 year ago

This PR implements the usage of a stepped workflow as well as the feature of canceling a previous job in case a new commit comes in.

Additionally, to reduce the number of packages we are pushing, we are now limiting the push action to when it is either in main branch or a tag.

image

PS: @aquelemiguel Before merging this PR, we should update the required checks.

We currently have 110 untagged versions. Hopefully, with this, we'll reduce this number's growth drastically.

We may also consider using delete-old-packages#ghcrio-packages or something similar.