chore: Update GitHub workflow permissions for consistent access

This commit is contained in:
Andreas Koepf (aider) 2025-02-01 02:28:06 +01:00
parent 9eabc01e23
commit 808e47031d
2 changed files with 6 additions and 1 deletions

View file

@ -8,8 +8,9 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4

View file

@ -9,6 +9,10 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
pull-requests: write
strategy:
matrix:
python-version: ["3.11", "3.12"]