Skip to content

Commit

Permalink
chore: add permissions on workflow (#3484)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrieLii authored Feb 5, 2025
1 parent 7407daf commit a180912
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
issues:
types: [labeled]

permissions:
contents: read
issues: write

jobs:
reply-labeled:
if: github.repository == 'module-federation/core'
Expand Down
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:
pull-requests: write
contents: read

jobs:
change-labeling:
name: Labeling for changes
Expand Down

0 comments on commit a180912

Please sign in to comment.