Skip to content

Conversation

@dblackhall-tyro
Copy link

@dblackhall-tyro dblackhall-tyro commented Jul 16, 2024

When using your action I get the following error in the Post Collect Workflow Telemetry Step:

/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/node_modules/@octokit/auth-action/dist-node/index.js:44
    throw new Error(
^
Error: [@octokit/auth-action] The token variable is specified more than once. Use either `with.token`, `with.GITHUB_TOKEN`, or `env.GITHUB_TOKEN`. See https://github.com/octokit/auth-action.js#createactionauth
    at createActionAuth2 (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/node_modules/@octokit/auth-action/dist-node/index.js:[4](https://github.com/********/actions/runs/995********/job/274********#step:16:4)4:1)
    at new Octokit (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/node_modules/@octokit/action/node_modules/@octokit/core/dist-node/index.js:127:1)
    at new OctokitWithDefaults (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/node_modules/@octokit/action/node_modules/@octokit/core/dist-node/index.js:42:1)
    at Object.70[5](https://github.com/********/actions/runs/995********/job/274********#step:16:5)1 (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/src/post.ts:45:1)
    at __nccwpck_require__ (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/webpack/bootstrap:21:1)
    at /home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/webpack/startup:4:1
    at Object.<anonymous> (/home/runner/work/_actions/catchpoint/workflow-telemetry-action/v2/dist/post/index.js:[6](https://github.com/********/actions/runs/995********/job/274********#step:16:6)1679:12)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)

@AllDmeat
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants