Skip to content

Commit

Permalink
add condition in API Pull Request Github Labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
novakzaballa committed Jan 16, 2024
1 parent a208273 commit bd2dd87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: API Pull Request Github Labeler
on:
workflow_run:
workflows:
- Test depends Github Labeler
- Github Labeler
types:
- completed


jobs:
test-job:
if: ${{ github.event_name == 'push' || contains( github.event.pull_request.labels.*.name, 'github') || contains( github.event.pull_request.labels.*.name, 'api') }}
name: API Unit Tests
runs-on: ubuntu-latest
steps:
Expand All @@ -29,7 +30,6 @@ jobs:
# - name: 'Trigger'
# run: echo 'The triggering workflow passed'

# if: ${{ github.event_name == 'push' || contains( github.event.pull_request.labels.*.name, 'github') || contains( github.event.pull_request.labels.*.name, 'api') }}

# services:
# postgres:
Expand Down

0 comments on commit bd2dd87

Please sign in to comment.