Skip to content

Commit 28af317

Browse files
joh-kleinmeeroslav
authored andcommitted
chore: token is defined twice
1 parent c0e0474 commit 28af317

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

dist/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64870,7 +64870,6 @@ const fs_1 = __nccwpck_require__(7147);
6487064870
const https_proxy_agent_1 = __nccwpck_require__(7219);
6487164871
const proxy_from_env_1 = __nccwpck_require__(3329);
6487264872
const { runId, repo: { repo, owner }, eventName, } = github.context;
64873-
process.env.GITHUB_TOKEN = core.getInput('token', { required: true });
6487464873
const mainBranchName = core.getInput('main-branch-name');
6487564874
const errorOnNoSuccessfulWorkflow = core.getBooleanInput('error-on-no-successful-workflow');
6487664875
const lastSuccessfulEvent = core.getInput('last-successful-event');

src/main.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const {
1111
repo: { repo, owner },
1212
eventName,
1313
} = github.context;
14-
process.env.GITHUB_TOKEN = core.getInput('token', { required: true });
1514
const mainBranchName = core.getInput('main-branch-name');
1615
const errorOnNoSuccessfulWorkflow = core.getBooleanInput(
1716
'error-on-no-successful-workflow',

0 commit comments

Comments
 (0)