From 1ff3329e6a6f192b703a183eb57250d02f75f448 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 20 Nov 2024 22:47:32 +0100 Subject: [PATCH 1/2] Use `GH_TOKEN` rather than custom secret names --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 483fb86..8141f95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 with: - token: ${{ secrets.AUTO_RELEASE_TOKEN_GHENGEVELD }} + token: ${{ secrets.GH_TOKEN }} - name: Prepare repository run: git fetch --unshallow --tags @@ -23,7 +23,7 @@ jobs: - name: Create Release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | pnpm install From fb6781806ddcde50e6441f3f80e98a2dc530a9d6 Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Wed, 20 Nov 2024 22:50:01 +0100 Subject: [PATCH 2/2] Consistent naming --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8141f95..1de678b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Create Release env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | pnpm install