chore(sec): remove not needed permissions (#1442)

this PR removes a few permissions in CI where I don't think they are
needed
This commit is contained in:
Frank Elsinga
2025-10-10 15:40:03 +02:00
committed by GitHub
parent 13ce1039ee
commit 8cd5e28f3a
4 changed files with 23 additions and 4 deletions

View File

@@ -8,9 +8,12 @@ jobs:
deploy-pages:
name: deploy/pages
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v5
with: { persist-credentials: false }
- name: Use Node.js from nvmrc
uses: actions/setup-node@v5
@@ -33,9 +36,10 @@ jobs:
deploy-docker:
name: deploy/docker
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' }}
permissions:
contents: read
packages: write
strategy:
fail-fast: false