From 7bebd062df3239c005c0d600f5dfd8514f5915f8 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 8 Nov 2024 12:52:07 -0500 Subject: [PATCH] ci: give publish workflow correct perms (#367) --- .github/workflows/publish.yml | 8 ++++++++ .github/workflows/release.yml | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 201f29e9..4a5a86c7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,10 @@ jobs: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -37,6 +41,10 @@ jobs: runs-on: ubuntu-latest + permissions: + id-token: write + contents: read + steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eef4fa41..934a9da6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,6 @@ jobs: contents: write pull-requests: write - outputs: - release_created: ${{ steps.release-please-run.outputs.release_created }} - tag_name: ${{ steps.release-please-run.outputs.tag_name }} - steps: - uses: googleapis/release-please-action@v4 id: release-please-run