Skip to content

Commit

Permalink
fix(input): pass reviewerToken into the main process
Browse files Browse the repository at this point in the history
  • Loading branch information
thatkookooguy committed Aug 9, 2022
1 parent d42c8b5 commit ebc2b89
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 12,947 deletions.
11,967 changes: 0 additions & 11,967 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

682 changes: 0 additions & 682 deletions dist/licenses.txt

This file was deleted.

1 change: 0 additions & 1 deletion dist/sourcemap-register.js

This file was deleted.

243 changes: 0 additions & 243 deletions lib/github-communicator.js

This file was deleted.

53 changes: 0 additions & 53 deletions lib/main.js

This file was deleted.

2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ async function run(): Promise<void> {
let githubCommunicator: GithubCommunicator;
try {
const githubToken = getInput('token');
const reviewerToken = getInput('reviewerToken');
const hotfixAgainstBranch = getInput('hotfixAgainstBranch');
const openPrAgainstBranch = getInput('openPrAgainstBranch');
const jobName = getInput('jobName');
Expand All @@ -29,6 +30,7 @@ async function run(): Promise<void> {

githubCommunicator = new GithubCommunicator({
githubToken,
reviewerToken,
hotfixAgainstBranch,
openPrAgainstBranch,
jobName,
Expand Down

0 comments on commit ebc2b89

Please sign in to comment.