Skip to content

Commit

Permalink
chore: Update GitHub workflow permissions for consistent access
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskoepf committed Feb 1, 2025
1 parent 9eabc01 commit 808e470
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 808e470

Please sign in to comment.