Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Publishes to random workflow

See original GitHub issue

When there are multiple GitHub workflows for one commit, the action publishes the commit status to a random workflow. It should be the workflow that contains the action. This is due to GitHub’s API not allowing to specify which workflow to add the check run to.

Both REST and GraphQL APIs do not allow to specify the workflow:

The github.run_id workflow variable provides the check run id where the action runs.

Update 2022-05-14: With GitHub introducing “job summary”, the action now additionally publishes the results at the summary page of the workflow that runs the publish action. From there, a link to the check annotations is provided if failures exists:

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:29
  • Comments:16 (8 by maintainers)

github_iconTop GitHub Comments

EnricoMicommented, Sep 16, 2021

An interesting observation is that artifact uploads are workflow run specific, they end up at the right workflow: I’ll look into how that action uses the API to achieve this.

EnricoMicommented, May 22, 2022

The “random workflow” issue is not fixed by the new “job summary” feature, but it helps to mitigate the impact.

The workflow that runs the publish job now contains the “job summary” with test results. In case test failures exist, the “job summary” contains a link to the test result annotations in the “random workflow”.

So the location of the test result annotations does not matter as much any more.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert Publish Package to Workflow
Hi All, I have package which I published it from workflow but unfortunately my project folder was on my ... Random and other...
Read more >
Build and publish workflow - YouTube
In this video, we will show you how to create a simple workflow for building and publishing a model.
Read more >
Building a better publishing workflow - YouTube
In 2019, the Book Industry Study Group launched its workflow committee to help companies across the supply chain think about ways to better ......
Read more >
Random Flow 01: Starter Workflow - YouTube
In this video, I'll show you a basic approach on using the plugins for the first time. This video assumes you have read...
Read more >
Random VSCode Workflow Tips - YouTube
Not that I'm much of a VSCode power user, but a lot of people ask me about this so I thought I'd show...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found