Skip to content

Commit

Permalink
ci: fix tag validation
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed May 19, 2024
1 parent 98e69df commit aba0e4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/axosyslog-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Validate tag
run: |
if [[ "${{ github.ref }}" != refs/tags/axosyslog-[0-9]+* ]]; then
if [[ "${{ github.ref }}" =~ ^refs/tags/axosyslog-[0-9]+ ]]; then
echo "Please start the workflow on a 'axosyslog-[0-9]+*' tag"
false
fi
Expand Down

0 comments on commit aba0e4d

Please sign in to comment.