8000 Make the githubToken input optional · zendesk/googlejavaformat-action@e31a115 · GitHub
[go: up one dir, main page]

Skip to content

Commit e31a115

Browse files
committed
Make the githubToken input optional
1 parent 6aba637 commit e31a115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { release } = require('os');
88

99
const owner = 'google';
1010
const repo = 'google-java-format';
11-
const githubToken = core.getInput('githubToken');
11+
const githubToken = core.getInput('githubToken', { required: false });
1212
const executable = path.join(process.env.HOME || process.env.USERPROFILE, 'google-java-format.jar');
1313
const apiReleases = `https://api.github.com/repos/${owner}/${repo}/releases`;
1414

0 commit comments

Comments
 (0)
0