This commit is contained in:
16
.gitea/workflows/work.yaml
Normal file
16
.gitea/workflows/work.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [Build]
|
||||||
|
types: [completed]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
on-success:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
|
steps:
|
||||||
|
- run: echo 'The triggering workflow passed'
|
||||||
|
on-failure:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
|
||||||
|
steps:
|
||||||
|
- run: echo 'The triggering workflow failed'
|
Reference in New Issue
Block a user