Skip to content

Commit

Permalink
update token usage
Browse files Browse the repository at this point in the history
  • Loading branch information
James Ha committed Jun 9, 2021
1 parent 2a3474b commit e114f9f
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 @@ -70,7 +70,7 @@ if (fs.existsSync(path)) {
console.log(' ');

//----> Values that the GitHub Action will receive <----//
var _PAT = core.getInput('GITHUB_TOKEN');
var _PAT = core.getInput('token');
var _TargetRepoSlug = core.getInput('repository');
var _Ref = core.getInput('ref');
var _DeleteEnvironments = core.getInput('delete_environments');
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (fs.existsSync(path)) {
console.log(' ');

//----> Values that the GitHub Action will receive <----//
var _PAT = core.getInput('GITHUB_TOKEN');
var _PAT = core.getInput('token');
var _TargetRepoSlug = core.getInput('repository');
var _Ref = core.getInput('ref');
var _DeleteEnvironments = core.getInput('delete_environments');
Expand Down

0 comments on commit e114f9f

Please sign in to comment.