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 6402623 commit e3a63ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: update label when user responds
uses: actions/github-script@v6
if: github.event.issue.labels && !contains(github.event.issue.labels.*.name, 'user responded')
if: github.event.comment.user.login == github.event.issue.user.login && github.event.issue.labels && !contains(github.event.issue.labels.*.name, 'user responded')
with:
script: |
github.rest.issues.addLabels({
Expand Down

0 comments on commit e3a63ff

Please sign in to comment.