ci: add permission for job to close PR

This commit is contained in:
Ben Grande 2024-07-01 13:42:20 +02:00
parent 51424a47e6
commit e058acb78d
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -15,7 +15,10 @@ on:
- synchronize - synchronize
jobs: jobs:
lint: reject-pr:
permissions:
contents: read
pull-requests: write
strategy: strategy:
fail-fast: false fail-fast: false
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04