From 468b436a89d934bd53018e0879ec04a4e769b754 Mon Sep 17 00:00:00 2001 From: James Cook Date: Wed, 10 Jan 2024 11:06:21 +0000 Subject: [PATCH] chore: give release action id-token permission --- .github/workflows/lint.yml | 1 - .github/workflows/release.yml | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5300cad..a13d66b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,7 +1,6 @@ name: test on: push: - branches: pull_request: jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c351d06..61ada4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,12 +4,16 @@ on: push: tags: - "*" + workflow_dispatch: + concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: name: Release runs-on: ubuntu-latest + permissions: + id-token: write steps: - name: Checkout Repo uses: actions/checkout@v3