Skip to content

Commit 60f66fa

Browse files
authored
Merge pull request #74 from trocco-io/fix-ci
run ci when tagged
2 parents 4c1b68d + 952bf26 commit 60f66fa

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)