From d8c4dbe3fc2c2923fd5122bf879ed3607dc518c4 Mon Sep 17 00:00:00 2001 From: f <> Date: Thu, 19 Sep 2024 21:26:55 +0200 Subject: [PATCH] Use gh token with access to repos GitOrigin-RevId: 07b05a6d6d158469baead75758af245c6b39f39f --- .github/workflows/packages.react-router-busy.release.yml | 2 +- packages/react-router-busy/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/packages.react-router-busy.release.yml b/.github/workflows/packages.react-router-busy.release.yml index a0b12ad..9ef8b67 100644 --- a/.github/workflows/packages.react-router-busy.release.yml +++ b/.github/workflows/packages.react-router-busy.release.yml @@ -79,5 +79,5 @@ jobs: with: working_directory: ./packages/react-router-busy env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.COPY_GITHUB_REPO_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/packages/react-router-busy/package.json b/packages/react-router-busy/package.json index 8d02561..92a3cc3 100644 --- a/packages/react-router-busy/package.json +++ b/packages/react-router-busy/package.json @@ -17,6 +17,7 @@ }, "repository": { "type": "git", + "//url": "Semantic Release uses this to get the code, and mirror might not be updated since separate action + needs token while private, but also this might be where tags are published and we do want it in mirrored one", "url": "git+https://github.com/bitofbreeze/react-router-busy.git" }, "license": "MIT",