Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: watcher for automerge #435

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
branches: ["master"]


Borda marked this conversation as resolved.
Show resolved Hide resolved
defaults:
run:
shell: bash
Expand Down Expand Up @@ -36,3 +37,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
Loading