From 73834b6651a798b76104d4690a473d8d84cc1c31 Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Mon, 29 Jul 2024 13:28:02 +0200 Subject: [PATCH 1/2] fix: Update release workflow to include environment variables --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69d35ba5..ff50eae3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,9 @@ jobs: run: melos prepare - name: Create Draft Release + env: + GH_TOKEN: ${{ github.token }} + GH_REPO: ${{ github.repository }} run: | tag="${{ github.ref_name }}" body="Release $tag" From 5bd04d1676f49c5de9b52a79b6e3f611c225eb7b Mon Sep 17 00:00:00 2001 From: Mugi Khan Date: Mon, 29 Jul 2024 13:32:29 +0200 Subject: [PATCH 2/2] chore: write permissions for release action --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff50eae3..0be4c8da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout Repository