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 10
10
11
11
jobs :
12
12
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') }}
18
20
runs-on : ubuntu-latest
19
21
steps :
20
22
- name : Checkout
Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
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') }}
19
21
runs-on : ubuntu-latest
20
22
steps :
21
23
- name : Checkout
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
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') }}
16
18
name : PR GitLab image
17
19
runs-on : ubuntu-latest
18
20
permissions :
You can’t perform that action at this time.
0 commit comments