File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ jobs:
18
18
- ubuntu-latest
19
19
20
20
steps :
21
- - name : Check branch name # make sure the release can only be run on branches like 'release-* '
21
+ - name : Check branch name # make sure the release can only be run on branch named 'release'
22
22
run : |
23
23
ref="${{ github.ref }}"
24
- if [[ ! "$ref" =~ ^refs/heads/release-* ]]; then
25
- echo "Error: Workflow can only run on branches starting with 'release-* '"
24
+ if [[ ! "$ref" =~ ^refs/heads/release ]]; then
25
+ echo "Error: Workflow can only run on branches starting with 'release'"
26
26
exit 1
27
27
fi
28
28
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1
1
{
2
- "branches" : [" release-1 " ],
2
+ "branches" : [" release" ],
3
3
"plugins" : [
4
4
[
5
5
" @semantic-release/commit-analyzer" ,
You can’t perform that action at this time.
0 commit comments