diff --git a/.github/workflows/update-monitor.yml b/.github/workflows/update-monitor.yml index 0cede86..eff3095 100644 --- a/.github/workflows/update-monitor.yml +++ b/.github/workflows/update-monitor.yml @@ -15,7 +15,7 @@ jobs: run: | SIZE=($(du -s dist/)) echo "::set-output name=code_size::$SIZE" - - uses: floric/repo-monitor-action@v1.2.11 + - uses: floric/repo-monitor-action@v1.2.12 name: Update Report with: key: code-size diff --git a/src/io/github.ts b/src/io/github.ts index 000536e..1f14349 100644 --- a/src/io/github.ts +++ b/src/io/github.ts @@ -54,8 +54,8 @@ export async function createOrUpdateContent( } export function getContext() { - core.info(`Token: ${(github as any).token}`); const token = core.getInput("token"); + core.info(`Token: ${token}`); const { owner, repo } = github.context.repo; const { sha: releaseId } = github.context; const context: MetricsContext = {