We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f47b8e commit 34ffb04Copy full SHA for 34ffb04
.github/workflows/release.yml
@@ -7,7 +7,7 @@ permissions:
7
on:
8
push:
9
tags:
10
- - "v*"
+ - "*@*"
11
12
jobs:
13
release:
@@ -16,6 +16,14 @@ jobs:
16
- uses: actions/checkout@v4
17
with:
18
fetch-depth: 0
19
+
20
+ - name: Validate tag format
21
+ run: |
22
+ if [[ ! $GITHUB_REF =~ ^refs/tags/[a-zA-Z0-9-]+@[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
23
+ echo "Invalid tag format. Expected 'name@x.y.z'."
24
+ exit 1
25
+ fi
26
27
- uses: pnpm/action-setup@v4
28
- uses: actions/setup-node@v4
29
0 commit comments