Skip to content

Commit 16185f3

Browse files
committed
build: fix wait for garnix, exclude default
1 parent 81bbfc6 commit 16185f3

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
- name: Wait for Garnix
1919
uses: lewagon/wait-on-check-action@v1.5.0
2020
with:
21-
ref: ${{ github.sha }}
22-
check-name: 'All Garnix checks'
21+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
22+
check-regexp: '.*Garnix.*'
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
wait-interval: 20
2525
- uses: cachix/install-nix-action@v31.10.0
@@ -49,8 +49,8 @@ jobs:
4949
- name: Wait for Garnix
5050
uses: lewagon/wait-on-check-action@v1.5.0
5151
with:
52-
ref: ${{ github.sha }}
53-
check-name: 'Garnix'
52+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
53+
check-regexp: '.*Garnix.*'
5454
repo-token: ${{ secrets.GITHUB_TOKEN }}
5555
wait-interval: 20
5656
- uses: cachix/install-nix-action@v31.10.0

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
- name: Wait for Garnix
1515
uses: lewagon/wait-on-check-action@v1.5.0
1616
with:
17-
ref: ${{ github.sha }}
18-
check-name: 'Garnix'
17+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
18+
check-regexp: '.*Garnix.*'
1919
repo-token: ${{ secrets.GITHUB_TOKEN }}
2020
wait-interval: 20
2121
- uses: cachix/install-nix-action@v31.10.0

garnix.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
builds:
22
exclude:
33
- packages.*.android
4+
- packages.*.default

0 commit comments

Comments
 (0)