Skip to content

Commit 952bf26

Browse files
committed
run ci when tagged
1 parent 4c1b68d commit 952bf26

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ on:
1818
jobs:
1919
main:
2020
runs-on: ubuntu-latest
21-
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) }}
21+
if: >
22+
${{
23+
github.event_name == 'pull_request' ||
24+
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) ||
25+
startsWith(github.ref, 'refs/tags/')
26+
}}
2227
permissions:
2328
packages: write
2429
contents: read

0 commit comments

Comments
 (0)