Skip to content

Check for action repository redirects #16

@rajbos

Description

@rajbos

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions