We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4aa5b8 commit 11d29efCopy full SHA for 11d29ef
1 file changed
.github/workflows/release.yml
@@ -3,6 +3,9 @@ name: release
3
on:
4
push:
5
tags: [scallop-*]
6
+ branches: ['**']
7
+ paths:
8
+ - ".github/workflows/release.yml"
9
workflow_dispatch:
10
11
jobs:
@@ -24,7 +27,7 @@ jobs:
24
27
ref=${{ github.ref_name }}
25
28
26
29
# verify tag name matches configure script
- if [[ ${ref} != main && ${ref} != ${release} ]]; then
30
+ if [[ ${{ github.ref_type }} == tag && ${ref} != ${release} ]]; then
31
echo "tag name ${ref} doesn't match package: ${release}"
32
exit 1
33
fi
0 commit comments