Fix error[excessive-permissions]: overly broad workflow or job-level permissions

This commit is contained in:
Hugo van Kemenade 2024-11-02 23:31:21 +02:00
parent 9faf598c89
commit d3db931f21

View File

@ -6,7 +6,7 @@ on:
workflow_dispatch:
permissions:
issues: write
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -15,6 +15,8 @@ concurrency:
jobs:
stale:
if: github.repository_owner == 'python-pillow'
permissions:
issues: write
runs-on: ubuntu-latest