Skip to content

Commit

Permalink
fix: githubToken is required
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Nov 20, 2023
1 parent adbca41 commit 65d6c91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63673,7 +63673,7 @@ var offsetBuildNumber = (buildNumber, offset) => {
}
};
var githubToken = () => {
const token = getInput2("githubToken");
const token = getInput2("githubToken", { required: true });
if (!token) {
throw new Error("githubToken not supplied");
}
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const offsetBuildNumber = (buildNumber: string, offset: string): string => {
};

const githubToken = (): string => {
const token = getInput('githubToken');
const token = getInput('githubToken', { required: true });
if (!token) {
throw new Error('githubToken not supplied');
}
Expand Down

0 comments on commit 65d6c91

Please sign in to comment.