diff --git a/action.yml b/action.yml index fbffedf..3871644 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,6 @@ inputs: repo-token: description: 'Token for the repo' required: true - default: ${{ github.token }} outputs: foundLogs: description: 'console.logs and where they are found' diff --git a/src/main.ts b/src/main.ts index e9a5238..8efeb55 100644 --- a/src/main.ts +++ b/src/main.ts @@ -5,7 +5,7 @@ import { check } from './check' export async function run(): Promise { try { - const token = core.getInput('token') + const token = core.getInput('repo-token') const logPositions = findConsoleLogs('./src') const output = await check(token, logPositions) core.setOutput('logs', output)