Remove default GitHub token

This commit is contained in:
lowlighter
2020-10-18 01:15:27 +02:00
parent 2807cb719a
commit 12ad05f751
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -32,7 +32,7 @@
console.log(`Templates | loaded`) console.log(`Templates | loaded`)
//Token for data gathering //Token for data gathering
const token = core.getInput("token") || github.token const token = core.getInput("token")
console.log(`Github token | ${token ? "provided" : "missing"}`) console.log(`Github token | ${token ? "provided" : "missing"}`)
if (!token) if (!token)
throw new Error("You must provide a valid GitHub token") throw new Error("You must provide a valid GitHub token")