Follow repository renaming when resolving actions to avoid breaking old references? #123611
Unanswered
mkniewallner asked this question in Actions
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Same issue happened to us when we had to rename an organization. Only actions were not (reliably) as reported e.g. in atos-actions/clean-self-hosted-runner#290 |
BetaWas this translation helpful?Give feedback.
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
Recently, googleapis/release-please-action repository hosting an action used in quite a lot of repositories was moved from
google-github-actionsorganisation togoogleapis(see googleapis/release-please-action#980).When a GitHub repository is renamed, or moved from one organisation to another, it is still possible to perform a checkout using the old reference. For instance in the case above, it's still possible to do:
So there is a retro-compatibility mechanism in place to avoid breaking usages using the old reference. Unfortunately, it looks like GitHub Actions do not benefit from this mechanism, as when using:
we end up having a resolution error:
Is this intended? Should Actions resolution follow the same mechanism, and still work if you use old references? Otherwise, it seems that it's almost impossible to move or rename a repository without breaking usages of the action it hosts.
Note that this resolution error happens regardless of the pattern used for specifying the reference to the action (
latest, specific major, specific commit SHA1, ...).BetaWas this translation helpful?Give feedback.
All reactions