From c2d85862fdd1bdcb9b7b10dcb3d35d3d60f4afc6 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 8 May 2023 01:04:23 +0100 Subject: [PATCH] fix(release): attempt to fix release job permissions It seems the "pull-request: write" permission on the job did not work. So we are now setting permissions at the workflow level --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7578969..46275b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,13 +2,14 @@ name: CI on: push +permissions: + contents: write + pull-requests: write + jobs: release-please: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' - permissions: - contents: write - pull-requests: write steps: - uses: jimeh/release-please-manifest-action@main id: release