Skip to content

Commit eb6aff6

Browse files
committed
ci: watcher for automerge
1 parent 0438367 commit eb6aff6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

+14
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,17 @@ jobs:
2626
run: ./.github/scripts/build.sh
2727
env:
2828
PYTHON_VERSION: ${{ matrix.python-version }}
29+
30+
watcher:
31+
runs-on: ubuntu-latest
32+
needs: build
33+
if: always()
34+
steps:
35+
- run: echo "${{ needs.build.result }}"
36+
- name: failing...
37+
if: needs.build.result == 'failure'
38+
run: exit 1
39+
- name: cancelled or skipped...
40+
if: contains(fromJSON('["cancelled", "skipped"]'), needs.build.result)
41+
timeout-minutes: 1
42+
run: sleep 90

0 commit comments

Comments
 (0)