Skip to content
Discussion options

You must be logged in to vote

By default, GitHub Actions ignores workflow triggers when more than three tags are pushed simultaneously. You can find more details on this behavior here.

At Safty, I have successfully addressed this issue by pushing newly created tags sequentially. The solution involves a JavaScript script that detects newly created tags on the running machine (whether it is a local machine or a CI runner) and then pushes each tag one by one. Consequently, GitHub will execute a new pipeline for each tag. Below is the script:

// Since git only allows three tags to be pushed at a time,
// we need to publish tags in batches,
// so that GitHub Actions are triggered for each batch.
const { execSync } = require(

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MagnusSafty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Question Ask and answer questions about GitHub features and usage
3 participants