Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 8156e32

Browse files
authored
main: rename variable
1 parent 68ae6da commit 8156e32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ const github = require('@actions/github')
33

44
async function main() {
55
try {
6-
const github_token = core.getInput("github_token", { required: true })
6+
const token = core.getInput("github_token", { required: true })
77
const numbers = core.getInput("numbers")
88
const branches = core.getInput("branches")
99
const prefix = core.getInput("prefix")
1010
const suffix = core.getInput("suffix")
1111

12-
const client = github.getOctokit(github_token)
12+
const client = github.getOctokit(token)
1313

1414
let branchesToDelete = branches ? branches.split(",") : []
1515

0 commit comments

Comments
 (0)