testing new workflow

This commit is contained in:
Miodec 2022-05-06 13:38:19 +02:00
parent fbaf6d12c9
commit b481f8e145

16
.github/workflows/comment-failed-pr.yml vendored Normal file
View file

@ -0,0 +1,16 @@
on:
workflow_run:
workflows: [PR Check]
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'