Skip to content

Commit

Permalink
Only match ISO8601 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Lethja committed Feb 28, 2025
1 parent 5fa07a2 commit f684a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/LuaWatcom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
name: Draft Release
needs: Watcom
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
if: startsWith(github.ref, 'refs/tags') && github.ref_name =~ '^[0-9]{4}-[0-9]{2}-[0-9]{2}$'

permissions:
contents: write
Expand Down

0 comments on commit f684a71

Please sign in to comment.