Skip to content

Commit

Permalink
ci: run auto-label.yml only if `github.event.review.state == 'APPRO…
Browse files Browse the repository at this point in the history
…VED'` (#6256)
  • Loading branch information
nsbarsukov authored Dec 15, 2023
1 parent 74507fa commit f9c3179
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/auto-label.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
name: 🤖 Auto label
on: pull_request_review
on:
pull_request_review:
types: [submitted]

jobs:
label-when-approved:
if: github.event.review.state == 'APPROVED'
name: Label when approved
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f9c3179

Please sign in to comment.