From 775031269116378616a20a2c44b8ebdcf370e1c0 Mon Sep 17 00:00:00 2001 From: winston Date: Thu, 28 Dec 2023 11:47:40 +0100 Subject: [PATCH] ci: fix permissions --- .github/workflows/release-please.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 5d4c1d8..003e00f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -4,11 +4,14 @@ on: push: branches: [main] +permissions: + contents: write + id-token: write + pull-requests: write + jobs: release-please: runs-on: ubuntu-latest - permissions: - pull-requests: write steps: - uses: google-github-actions/release-please-action@v4 id: release @@ -20,9 +23,6 @@ jobs: runs-on: ubuntu-latest needs: release-please if: ${{ needs.release-please.outputs.release_created }} - permissions: - contents: write - id-token: write steps: - uses: actions/checkout@v4