Skip to content

Commit

Permalink
Fix PR label GitHub action syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettjstevens committed Jan 6, 2021
1 parent c520aff commit b15d5ca
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pull_request_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@ jobs:
triage:
runs-on: ubuntu-latest
if: |
!(
contains(github.event.pull_request.labels.*.name, "breaking") ||
contains(github.event.pull_request.labels.*.name, "enhancement") ||
contains(github.event.pull_request.labels.*.name, "bug") ||
contains(github.event.pull_request.labels.*.name, "documentation") ||
contains(github.event.pull_request.labels.*.name, "internal")
)
!contains(github.event.pull_request.labels.*.name, 'breaking') &&
!contains(github.event.pull_request.labels.*.name, 'enhancement') &&
!contains(github.event.pull_request.labels.*.name, 'bug') &&
!contains(github.event.pull_request.labels.*.name, 'documentation') &&
!contains(github.event.pull_request.labels.*.name, 'internal')
steps:
- uses: actions/labeler@main
with:
Expand Down

0 comments on commit b15d5ca

Please sign in to comment.