Skip to content

add matching condition to Github Action's runner#84

Open
ryu-sato wants to merge 1 commit intocatchpoint:masterfrom
ryu-sato:fix/enable-to-filter-github-action-runner
Open

add matching condition to Github Action's runner#84
ryu-sato wants to merge 1 commit intocatchpoint:masterfrom
ryu-sato:fix/enable-to-filter-github-action-runner

Conversation

@ryu-sato
Copy link
Copy Markdown

Now, getCurrentJob() cannot be retrieved because the runner name differs between the API result and the environment variable.

Post process fail with bellow log.

[Workflow Telemetry] Couldn't find current job. So action will not report any data.

  • API result: "Github Actions"
  • process.env.RUNNER_NAME: ex. "GitHub-Actions-1000000242"

This PR added a condition to match the Github Action runner.

Test workflow work fine.

https://github.com/ryu-sato/github_action_sandbox/actions/runs/14007399528#summary-39223009325

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.

1 participant