Skip to content

Commit

Permalink
Add label workflow pull_request type synchronize and echo message (ne…
Browse files Browse the repository at this point in the history
…tworkx#7135)

* change edited to synchronize

* make a change

* change back
  • Loading branch information
dschult authored and cvanelteren committed Apr 22, 2024
1 parent b739a9b commit 70459fe
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
- labeled
- unlabeled

Expand All @@ -17,4 +18,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- if: "contains( env.LABELS, 'type: ' ) == false"
run: exit 1
run: |
echo "This PR needs a reviewer to label the PR with a 'type:' label"
exit 1

0 comments on commit 70459fe

Please sign in to comment.