Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa committed Jan 15, 2024
1 parent 37ffd78 commit 60dab9e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/api-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: API Pull Request
on:
workflow_run:
workflows: ['Github Labeler']
branches: [master]
types:
- completed

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test-depends-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Test depends workflow

on:
workflow_run:
workflows: [Github Labeler]
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'

0 comments on commit 60dab9e

Please sign in to comment.