From 86eb7eceac8a2435a4bf88ee6dc985500500d367 Mon Sep 17 00:00:00 2001 From: Shavonn Brown Date: Tue, 31 Mar 2026 20:38:12 -0400 Subject: [PATCH] fix: move workflow permissions to top --- .github/workflows/release.yml | 7 ++++--- README.md | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec035e0..3eb0297 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,14 +3,15 @@ name: Release on: pull_request: types: [ closed ] + +permissions: + contents: write + pull-requests: write jobs: release: if: github.event.pull_request.merged == true runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v6 with: diff --git a/README.md b/README.md index 80ec54f..d9c2bb2 100644 --- a/README.md +++ b/README.md @@ -46,14 +46,15 @@ name: Release on: pull_request: types: [ closed ] + +permissions: + contents: write + pull-requests: write jobs: release: if: github.event.pull_request.merged == true runs-on: ubuntu-latest - permissions: - contents: write - pull-requests: write steps: - uses: actions/checkout@v6 with: