From 3593fbacd32b0a00bc56121b55a106a9c1250f6a Mon Sep 17 00:00:00 2001 From: Paul Schultz Date: Tue, 22 Oct 2024 09:18:57 -0500 Subject: [PATCH] chore(gh): fix gh action typo Signed-off-by: Paul Schultz --- .changeset/cyan-ghosts-tease.md | 2 ++ .github/workflows/update-changeset-prs.yaml | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 .changeset/cyan-ghosts-tease.md diff --git a/.changeset/cyan-ghosts-tease.md b/.changeset/cyan-ghosts-tease.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/cyan-ghosts-tease.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/update-changeset-prs.yaml b/.github/workflows/update-changeset-prs.yaml index 78275adc7c..243a217978 100644 --- a/.github/workflows/update-changeset-prs.yaml +++ b/.github/workflows/update-changeset-prs.yaml @@ -13,7 +13,8 @@ jobs: - name: Checkout uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 with: - fetch-depth: 0 + # don't persist the GITHUB_TOKEN so the release can use use the generated token + persist-credentials: false - name: Generate token id: generate-token @@ -25,9 +26,8 @@ jobs: - name: Setup Node.js uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 with: - node-version: '.nvmrc' + node-version-file: '.nvmrc' registry-url: 'https://registry.npmjs.org' - cache: 'yarn' - name: Install dependencies # We want to commit the yarn.lock changes