CI: no releases for pr runs

This commit is contained in:
Dan Kluser
2026-05-14 13:15:15 +02:00
parent 9d65d7a391
commit 01205507fd
2 changed files with 4 additions and 8 deletions

View File

@@ -10,11 +10,7 @@ on:
jobs:
image:
# Only run on push, manual dispatch, OR when the 'run-ci' label is added to a PR
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'push' ||
(github.event_name == 'pull_request_target' && github.event.label.name == 'run-ci')
if: github.event.label.name == 'run-ci' || github.event_name != 'pull_request_target'
permissions:
contents: write
uses: ./.github/workflows/build-image.yml