Skip to content

Commit b558eb4

Browse files
committed
revise workflow
1 parent bfa06ed commit b558eb4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/regression.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: ["main"]
66
tags:
7-
- '*'
7+
- 'v*'
88
pull_request:
99
branches: ["main"]
1010

@@ -33,6 +33,8 @@ jobs:
3333
github-token: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Run tests
36+
# don't run tests for tags
37+
if: ${{ ! startsWith(github.ref, 'refs/tags/') }}
3638
run: |
3739
pushd tests
3840
for dir in `find . -mindepth 1 -maxdepth 1 -type d`; do
@@ -55,7 +57,7 @@ jobs:
5557
with:
5658
draft: false
5759
prerelease: false
58-
release_name: ${{ github.ref }}
60+
release_name: Release ${{ github.ref }}
5961
tag_name: ${{ github.ref }}
6062
body_path: CHANGELOG.md
6163
env:

0 commit comments

Comments
 (0)