Skip to content

Commit 9801714

Browse files
authored
CI: fix github token for configuring runner
1 parent d13ca8e commit 9801714

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/cuda.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: machulav/ec2-github-runner@v2
2323
with:
2424
mode: start
25-
github-token: ${{ secrets.GITHUB_TOKEN }}
25+
github-token: ${{ secrets.PAT }}
2626
ec2-image-id: ami-04cd9fec4a7a39019
2727
ec2-instance-type: g4dn.xlarge
2828
subnet-id: subnet-72d3e53e
@@ -62,6 +62,6 @@ jobs:
6262
uses: machulav/ec2-github-runner@v2
6363
with:
6464
mode: stop
65-
github-token: ${{ secrets.GITHUB_TOKEN }}
65+
github-token: ${{ secrets.PAT }}
6666
label: ${{ needs.start-runner.outputs.label }}
6767
ec2-instance-id: ${{ needs.start-runner.outputs.ec2-instance-id }}

0 commit comments

Comments
 (0)