Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 3

[Github Actions] Status Checks created on incorrect Check Suite Id

This repo has two identical workflows, one on push and one on a schedule. They both create a status check with the API. https://github.com/qawolf/actions-test

 

According to the Check Runs docs "GitHub automatically adds new check runs to the correct check suite".

 

I would expect the check run to be placed with the same suite as the workflow run, however it is being associated to the same check suite as the workflow ran on the initial push.

 

See here: https://github.com/qawolf/actions-test/runs/277868722

 

cannot_use_checks_with_actions.png

 

This makes it not possible to create status checks for scheduled github actions.

 

If it is not possible to change the automatic behavior, it would be nice to provide the check suite id as a environment variable to the workflow virtual environment, and allow passing the check suite id as part of the create check run API. So that the check run can show up in the UI in the right place.

 

 

2 Replies
Copilot Lvl 2
Message 2 of 3

Re: [Github Actions] Status Checks created on incorrect Check Suite Id

I'm seeing the same, where check runs created manually during an action workflow seems to be associated with a random suite, making it hard to keep things organized when we have multiple separate workflows.

Copilot Lvl 3
Message 3 of 3

Re: [Github Actions] Status Checks created on incorrect Check Suite Id

Any chance we could get an update on this? We would love to add Status Check support to QA Wolf but do not know how to handle the scheduled behavior.

 

https://github.com/qawolf/qawolf/pull/95