Skip to content

Commit

Permalink
correctly bring in the lastmjs pat
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 18, 2024
1 parent 58ba02b commit fcef3f5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 6 additions & 4 deletions .github/workflows/release_parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
required: true
NPM_TOKEN:
required: true
LASTMJS_GITHUB_TOKEN:
required: true

jobs:
prepare-release:
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit fcef3f5

Please sign in to comment.