We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a313de + 6882309 commit 262165dCopy full SHA for 262165d
1 file changed
.github/workflows/release.yml
@@ -21,7 +21,7 @@ jobs:
21
env:
22
RELEASE_TAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
23
steps:
24
- - name: Validate release tag
+ - name: Validate release tag format
25
if: github.event_name == 'workflow_dispatch'
26
run: |
27
set -euo pipefail
@@ -30,11 +30,11 @@ jobs:
30
echo "tag must look like vX.Y.Z, got: $tag" >&2
31
exit 1
32
fi
33
- git ls-remote --exit-code origin "refs/tags/${tag}" >/dev/null
34
35
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
36
with:
37
ref: ${{ env.RELEASE_TAG }}
+ fetch-depth: 0
38
39
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
40
0 commit comments