Skip to content

Commit

Permalink
chore: scope GITHUB_TOKEN to only issue write (#11218)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefaidt authored Oct 24, 2022
1 parent 0e69509 commit 7e409cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/issue-pending-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: issue-pending-response
on:
issue_comment:
types: [created]

permissions:
issues: write
jobs:
issue_commented:
if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'pending-response') }}
Expand Down

0 comments on commit 7e409cd

Please sign in to comment.