Skip to content

Commit

Permalink
Merge pull request containerd#10350 from dmcgowan/gha-stale-permissions
Browse files Browse the repository at this point in the history
Reduce scope of permissions in stale workflow
  • Loading branch information
fuweid authored Jun 18, 2024
2 parents e030f95 + 531da99 commit 741c4bd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ on:
paths:
- '.github/workflows/stale.yml'

permissions:
issues: write
pull-requests: write
permissions: read-all

jobs:
stale:
runs-on: ubuntu-latest

permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v9
# All stale bot options: https://github.com/actions/stale#all-options
Expand Down

0 comments on commit 741c4bd

Please sign in to comment.