File tree Expand file tree Collapse file tree 3 files changed +21
-15
lines changed Expand file tree Collapse file tree 3 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 pr-contributor :
13- if : ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
14- github.ref == 'refs/heads/main') &&
15- !contains(github.ref, 'gh-readonly-queue') &&
16- (github.event_name == 'pull_request' ||
17- github.event.pull_request.head.repo.full_name != github.repository) }}
13+ # Stop processing if this is a merge-queue
14+ # Stop processing if this is not against our repo
15+ # Always run if this PR is not from our organization
16+ # Or run if this PR is not `main` (So notQueue && ourRepo && (notPROurOrg || notMain))
17+ if : ${{ !contains(github.ref, 'gh-readonly-queue') &&
18+ github.repository == 'domjudge/domjudge-packaging' &&
19+ !(github.event.pull_request.head.repo.full_name == 'domjudge/domjudge-packaging' && github.ref == 'main') }}
1820 runs-on : ubuntu-latest
1921 steps :
2022 - name : Checkout
Original file line number Diff line number Diff line change 1111
1212jobs :
1313 pr-domjudge :
14- if : ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
15- github.ref == 'refs/heads/main') &&
16- !contains(github.ref, 'gh-readonly-queue') &&
17- (github.event_name == 'pull_request' ||
18- github.event.pull_request.head.repo.full_name != github.repository) }}
14+ # Stop processing if this is a merge-queue
15+ # Stop processing if this is not against our repo
16+ # Always run if this PR is not from our organization
17+ # Or run if this PR is not `main` (So notQueue && ourRepo && (notPROurOrg || notMain))
18+ if : ${{ !contains(github.ref, 'gh-readonly-queue') &&
19+ github.repository == 'domjudge/domjudge-packaging' &&
20+ !(github.event.pull_request.head.repo.full_name == 'domjudge/domjudge-packaging' && github.ref == 'main') }}
1921 runs-on : ubuntu-latest
2022 steps :
2123 - name : Checkout
Original file line number Diff line number Diff line change 88
99jobs :
1010 pr-gitlab :
11- if : ${{ !(github.repository == 'domjudge/domjudge-packaging' &&
12- github.ref == 'refs/heads/main') &&
13- !contains(github.ref, 'gh-readonly-queue') &&
14- (github.event_name == 'pull_request' ||
15- github.event.pull_request.head.repo.full_name != github.repository) }}
11+ # Stop processing if this is a merge-queue
12+ # Stop processing if this is not against our repo
13+ # Always run if this PR is not from our organization
14+ # Or run if this PR is not `main` (So notQueue && ourRepo && (notPROurOrg || notMain))
15+ if : ${{ !contains(github.ref, 'gh-readonly-queue') &&
16+ github.repository == 'domjudge/domjudge-packaging' &&
17+ !(github.event.pull_request.head.repo.full_name == 'domjudge/domjudge-packaging' && github.ref == 'main') }}
1618 name : PR GitLab image
1719 runs-on : ubuntu-latest
1820 permissions :
You can’t perform that action at this time.
0 commit comments