Skip to content

Commit

Permalink
Add missing perm, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-claudia committed Sep 24, 2024
1 parent 9f4785a commit 1a6e9ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/notify-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
permissions:
id-token: write
issues: write
pull-requests: write
repository-projects: write

jobs:
Expand All @@ -27,7 +28,7 @@ jobs:
echo "event name: $GITHUB_EVENT_NAME"
case "$GITHUB_EVENT_NAME" in
"issue") cmd=issue ;;
"issues") cmd=issues ;;
"pull_request_target") cmd=pr ;;
*)
echo "::error::This action must only be run on 'issue' and 'pull_request_target' events"
Expand Down

0 comments on commit 1a6e9ad

Please sign in to comment.