From fcef3f5f0b596e8150b137b6e16d9abe20077ebb Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Fri, 18 Oct 2024 14:03:40 -0600 Subject: [PATCH] correctly bring in the lastmjs pat --- .github/workflows/release.yml | 1 + .github/workflows/release_parallel.yml | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c762f5c3e7..2d61ac8886 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,3 +53,4 @@ jobs: GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} # All commits must be verified GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + LASTMJS_GITHUB_TOKEN: ${{ secrets.LASTMJS_GITHUB_TOKEN }} diff --git a/.github/workflows/release_parallel.yml b/.github/workflows/release_parallel.yml index 80b329020d..318468e835 100644 --- a/.github/workflows/release_parallel.yml +++ b/.github/workflows/release_parallel.yml @@ -8,6 +8,8 @@ on: required: true NPM_TOKEN: required: true + LASTMJS_GITHUB_TOKEN: + required: true jobs: prepare-release: @@ -23,7 +25,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref || github.ref }} - token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} + token: ${{ secrets.LASTMJS_GITHUB_TOKEN }} - id: get-version run: | @@ -107,7 +109,7 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref || github.ref }} - token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} + token: ${{ secrets.LASTMJS_GITHUB_TOKEN }} - id: get-node-version uses: ./.github/actions/get_node_version @@ -161,12 +163,12 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref || github.ref }} - token: ${{ secrets.LASTMJS_GITHUB_TOKEN || github.token }} + token: ${{ secrets.LASTMJS_GITHUB_TOKEN }} fetch-depth: 0 # Fetch all history for all branches and tags - name: Merge update branches env: - PAT: ${{ secrets.WORKFLOW_PAT }} + PAT: ${{ secrets.LASTMJS_GITHUB_TOKEN }} run: | git config --global user.name 'Jordan Last' git config --global user.email 'jordan.michael.last@gmail.com'