mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update onrush.yml
This commit is contained in:
parent
0a5e6102c6
commit
5bc0f49a7f
1 changed files with 25 additions and 6 deletions
31
.github/workflows/onrush.yml
vendored
31
.github/workflows/onrush.yml
vendored
|
@ -1,16 +1,35 @@
|
||||||
name: pusher
|
name: pusher
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# push:
|
||||||
#workflow_run:
|
# branches:
|
||||||
#workflows: ["Test Deploy"]
|
# - master
|
||||||
#types:
|
# paths:
|
||||||
#- completed
|
# - file28.txt
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Test Deploy"]
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
on-push:
|
on-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.workflow_run.conclusion == 'success'
|
if: github.event.workflow_run.conclusion == 'success'
|
||||||
steps:
|
steps:
|
||||||
- run: git commit --allow-empty -m "Empty commit"
|
- run: echo "completed"
|
||||||
|
|
||||||
|
post-test-success:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: haya14busa/action-workflow_run-status@v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: exit 0
|
||||||
|
|
||||||
|
post-test-failure:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: haya14busa/action-workflow_run-status@v1
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- run: exit 1
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue