Closed dscho closed 1 year ago
In https://github.com/git-for-windows/git-for-windows-automation/actions/runs/4231051093/jobs/7349093571#step:22:49, we see what happens if, say, the pacman step fails and the refresh step is skipped: we try to update the check run but fail to refresh the token that is necessary to do that.
pacman
refresh
In another run the symptom looks different: it is indicated that we run into API rate limiting. That's because the used token is empty and therefore we run unauthenticated.
Fix that by forcing the refresh step just like the update check-run step.
update check-run
https://github.com/git-for-windows/git-for-windows-automation/pull/38 made this obsolete, as it removed the refresh step.
In https://github.com/git-for-windows/git-for-windows-automation/actions/runs/4231051093/jobs/7349093571#step:22:49, we see what happens if, say, the
pacman
step fails and therefresh
step is skipped: we try to update the check run but fail to refresh the token that is necessary to do that.In another run the symptom looks different: it is indicated that we run into API rate limiting. That's because the used token is empty and therefore we run unauthenticated.
Fix that by forcing the
refresh
step just like theupdate check-run
step.