Update: GITHUB_RUN_NUMBER ENV variable is available, see docs: https://docs.github.com/en/actions/reference/workflows-and-actions/variables
GITHUB_RUN_NUMBER