Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
monkeyDluffy6017 committed Sep 4, 2023
1 parent 55e2d03 commit 1409189
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update-pr-labels.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
name: Update pr labels when user responds
permissions:
issues: write
pull-requests: write

on:
Expand All @@ -10,7 +9,7 @@ on:
types: [created]

jobs:
issue_comment:
pr_commented:
if: github.event.issue && github.event.issue.pull_request && github.event.comment.user.login == github.event.issue.user.login && github.event.issue.labels && !contains(github.event.issue.labels.*.name, 'user responded')
runs-on: ubuntu-latest
steps:
Expand All @@ -25,7 +24,7 @@ jobs:
labels: ["user responded"]
})
pull_request_review_comment:
pr_review_commented:
if: github.event.pull_request && github.event.comment.user.login == github.event.pull_request.user.login && github.event.pull_request.labels && !contains(github.event.pull_request.labels.*.name, 'user responded')
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1409189

Please sign in to comment.