Closed dscho closed 1 year ago
Hmm. After having another look, I think my fix is wrong. The idea was, after all, to store the relevant information in the state
file, including the owner and the repository.
There you go. That's the ticket. The owner/repo information was stored in the state file, but I simply forgot to use it 😄. Now this PR is ready to be merged.
I'll just merge this before building another set of Git artifacts over in https://github.com/git-for-windows/git/pull/4426.
The latest
git-artifacts
run failed because the installation token was created more than 10 minutes before theportable
and thenuget
jobs were actually started (they were queued for a long time because of some concurrent workflow runs using up the contingent of hosted runners available to the Git for Windows project).This uncovered the fact that we fail to re-generate new installation tokens because the Action lacks the proper information: it needs a repository to work with, but that information was not passed as parameter.
This is a wide-spread issue: the
check-run-action
actually requires the owner/repo information in case a new installation token needs to be generated.This PR fixes all of those instances, and while in the space also ties up a few other loose ends.