Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for action repository redirects #16

Open
1 task
rajbos opened this issue Nov 4, 2021 · 0 comments
Open
1 task

Check for action repository redirects #16

rajbos opened this issue Nov 4, 2021 · 0 comments

Comments

@rajbos
Copy link
Owner

rajbos commented Nov 4, 2021

Some repositories have been renamed and GitHub handles both the new name and the old name: the old one just gets redirected. See for example the Snyk actions:

 Old name: https://github.com/snyk/snyk-actions
 New name: https://github.com/snyk/actions

We don't see that and fork over the new name (probably because of the API gives us that). But loading the action from the issue still gives us the old name. This ends in errors since the fork was made with the new name, but we try to inject the CodeQL workflow with the old repository name :-(.

  • Check if the name is different in the find-action-name (check the GetRepo result) and if so, use the new name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant