Skip to content

Commit d5b5527

Browse files
Michael Vasseurvmcj
authored andcommitted
Don't run the PR job on merge-queue
The branchname would become something hard to read and the branchname chosen by the contributor should already have an image as we work from a PR.
1 parent 3ee0b23 commit d5b5527

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/build-contributor-container-PR.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
pr-contributor:
1313
if: ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
1414
github.ref == 'refs/heads/main') &&
15+
github.event.action != 'enqueued' &&
1516
(github.event_name == 'pull_request_target' ||
1617
github.event.pull_request.head.repo.full_name != github.repository) }}
1718
runs-on: ubuntu-latest

.github/workflows/build-domjudge-container-PR.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
pr-domjudge:
1414
if: ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
1515
github.ref == 'refs/heads/main') &&
16+
github.event.action != 'enqueued' &&
1617
(github.event_name == 'pull_request_target' ||
1718
github.event.pull_request.head.repo.full_name != github.repository) }}
1819
runs-on: ubuntu-latest

.github/workflows/build-gitlab-container-PR.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
pr-gitlab:
1111
if: ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
1212
github.ref == 'refs/heads/main') &&
13+
github.event.action != 'enqueued' &&
1314
(github.event_name == 'pull_request_target' ||
1415
github.event.pull_request.head.repo.full_name != github.repository) }}
1516
name: PR GitLab image

0 commit comments

Comments
 (0)