mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
fix: repo
This commit is contained in:
5
.github/github-action/index.js
vendored
5
.github/github-action/index.js
vendored
@@ -25,10 +25,7 @@ async function run() {
|
||||
const githubToken = core.getInput('github_token');
|
||||
|
||||
const [owner, repo] = core.getInput('repo').split('/');
|
||||
const number =
|
||||
core.getInput('number') === ''
|
||||
? github.context.issue.number
|
||||
: parseInt(core.getInput('number'));
|
||||
const number = github.context.issue.number;
|
||||
|
||||
const octokit = github.getOctokit(githubToken);
|
||||
await octokit.rest.issues.addLabels({
|
||||
|
||||
Reference in New Issue
Block a user