Skip to content

Commit

Permalink
Adjusted publish workflow to new tags-ignore construct
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Jun 18, 2024
1 parent b8f0df2 commit d43d719
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ on:
push: # When pushing a tag
tags:
- "*"
- "!*a0" # Exclude initial tag for a new version
tags-ignore:
- "*a0" # Start tags for a new version

jobs:
publish:
Expand Down
3 changes: 3 additions & 0 deletions changes/noissue.2.cleanup.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Dev: Adjusted the approach for preventing that the push of the start tag of
a new version triggers the 'publish' workflow to the new GitHub Actions
construct 'tags-ignore'.

0 comments on commit d43d719

Please sign in to comment.