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 <laszlo.varady@anno.io>
  • Loading branch information
MrAnno committed May 19, 2024
1 parent 98e69df commit e492095
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 e492095

Please sign in to comment.