Skip to content

Commit

Permalink
chore(CI): specify minimal permissions for issue-labeler (#1695)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Dec 23, 2024
1 parent caeba32 commit 91e8c25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pr-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- opened
- edited

permissions:
issues: write
contents: read

jobs:
change-labeling:
name: Labeling for changes
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ on:
required: true
default: 'main'

permissions:
id-token: write

jobs:
release:
name: Release
Expand Down

0 comments on commit 91e8c25

Please sign in to comment.