We have a use case that requires us to have a unique identifier between multiple jobs in a GitHub Actions workflow. The check suite id would be perfect for this, but it is currently not supported.
There have been discussion regarding using the
github.run\_number and passing it to the Check Suite or Check Run API, however the run_id and run_number remain the same when re-running a failed workflow so it isn’t truly unique. When re-running a workflow, it also creates new check runs.
Having the check suite id and check run id exposed in the
github context object would be valuable – https://help.github.com/en/actions/reference/contexts-and-expression-syntax-for-github-actions#github-context.