From 08c05fa591b67316a591a58f62d6facb70bc0821 Mon Sep 17 00:00:00 2001 From: Allison Thackston <73732028+althack@users.noreply.github.com> Date: Tue, 18 Aug 2026 16:47:53 -0700 Subject: [PATCH] Restrict GitHub Actions workflow permissions --- .github/workflows/release.yaml | 1 - .github/workflows/test-pr.yaml | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e916bc8..564dff8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,6 @@ jobs: permissions: packages: write contents: write - pull-requests: write steps: - name: Resolve release settings id: settings diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml index 2f96f97..afd7138 100644 --- a/.github/workflows/test-pr.yaml +++ b/.github/workflows/test-pr.yaml @@ -5,10 +5,6 @@ on: jobs: smoke-test: runs-on: ubuntu-latest - permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the - # added or changed files to the repository. - contents: write steps: - uses: actions/checkout@v6