Skip to content

Commit

Permalink
ci: watcher for automerge
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Feb 2, 2023
1 parent 0438367 commit eb6aff6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,17 @@ jobs:
run: ./.github/scripts/build.sh
env:
PYTHON_VERSION: ${{ matrix.python-version }}

watcher:
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- run: echo "${{ needs.build.result }}"
- name: failing...
if: needs.build.result == 'failure'
run: exit 1
- name: cancelled or skipped...
if: contains(fromJSON('["cancelled", "skipped"]'), needs.build.result)
timeout-minutes: 1
run: sleep 90

0 comments on commit eb6aff6

Please sign in to comment.