Skip to content

Commit dcc405d

Browse files
authored
fix: uses correct input name for gh token (#341)
1 parent dce4d12 commit dcc405d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

actions/run/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2881,7 +2881,7 @@ async function run() {
28812881
const artifactPath = core.getInput('artifact_path');
28822882
const earthfile = core.getInput('earthfile');
28832883
const flags = core.getInput('flags');
2884-
const githubToken = core.getInput('githubToken');
2884+
const githubToken = core.getInput('github_token');
28852885
const platform = core.getInput('platform');
28862886
const privileged = core.getBooleanInput('privileged');
28872887
const runnerAddress = core.getInput('runner_address');

actions/run/src/run.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe('Run Action', () => {
192192
return earthfile
193193
case 'flags':
194194
return flags
195-
case 'githubToken':
195+
case 'github_token':
196196
return githubToken
197197
case 'platform':
198198
return platform

actions/run/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export async function run(): Promise<void> {
77
const artifactPath = core.getInput('artifact_path')
88
const earthfile = core.getInput('earthfile')
99
const flags = core.getInput('flags')
10-
const githubToken = core.getInput('githubToken')
10+
const githubToken = core.getInput('github_token')
1111
const platform = core.getInput('platform')
1212
const privileged = core.getBooleanInput('privileged')
1313
const runnerAddress = core.getInput('runner_address')

0 commit comments

Comments
 (0)