Skip to content

Commit

Permalink
Merge pull request #74 from trocco-io/fix-ci
Browse files Browse the repository at this point in the history
run ci when tagged
  • Loading branch information
d-hrs authored Feb 26, 2024
2 parents 4c1b68d + 952bf26 commit 60f66fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ on:
jobs:
main:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'pull_request' || (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) }}
if: >
${{
github.event_name == 'pull_request' ||
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe to test')) ||
startsWith(github.ref, 'refs/tags/')
}}
permissions:
packages: write
contents: read
Expand Down

0 comments on commit 60f66fa

Please sign in to comment.