Skip to content

Commit

Permalink
Fix error[excessive-permissions]: overly broad workflow or job-level …
Browse files Browse the repository at this point in the history
…permissions
  • Loading branch information
hugovk committed Nov 2, 2024
1 parent 9faf598 commit d3db931
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

permissions:
issues: write
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -15,6 +15,8 @@ concurrency:
jobs:
stale:
if: github.repository_owner == 'python-pillow'
permissions:
issues: write

runs-on: ubuntu-latest

Expand Down

0 comments on commit d3db931

Please sign in to comment.