Skip to content

Commit

Permalink
fix: revert GH_PAT rename
Browse files Browse the repository at this point in the history
  • Loading branch information
leruaa committed Nov 9, 2024
1 parent 404590d commit 73eed5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: "${{ secrets.AWS_SECRET_ACCESS_KEY }}"
AWS_SUBNET_ID: "${{ secrets.AWS_SUBNET_ID }}"
AWS_SG_ID: "${{ secrets.AWS_SG_ID }}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_PAT: ${{ secrets.GITHUB_TOKEN }}

cleanup:
name: Release cleanup
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/toolchain-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:
required: true
AWS_SG_ID:
required: true
GITHUB_TOKEN:
GH_PAT:
required: true

jobs:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
# - Contents: Read and write
# - Metadata: Read-only
# - Workflows: Read and write
github-token: "${{ secrets.GITHUB_TOKEN }}"
github-token: "${{ secrets.GH_PAT }}"
ec2-image-id: "${{ inputs.image-id }}"
ec2-instance-type: "${{ inputs.instance-type }}"
subnet-id: "${{ secrets.AWS_SUBNET_ID }}"
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: "Install SP1"
env:
SP1UP_VERSION: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: |
cd sp1up
chmod +x sp1up
Expand Down Expand Up @@ -132,6 +132,6 @@ jobs:
uses: "xJonathanLEI/ec2-github-runner@main"
with:
mode: "stop"
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GH_PAT }}
label: "${{ needs.start-runner.outputs.label }}"
ec2-instance-id: "${{ needs.start-runner.outputs.ec2-instance-id }}"

0 comments on commit 73eed5f

Please sign in to comment.