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

ghactions list fails if local action is referenced #39

Closed
JAORMX opened this issue Dec 12, 2023 · 0 comments · Fixed by #40
Closed

ghactions list fails if local action is referenced #39

JAORMX opened this issue Dec 12, 2023 · 0 comments · Fixed by #40

Comments

@JAORMX
Copy link
Contributor

JAORMX commented Dec 12, 2023

e.g. for Minder:

$ frizbee ghactions list
Error: failed to list actions: failed to process file workflows/main.yml: failed to get actions from YAML file workflows/main.yml: failed to parse action reference './.github/workflows/license-check.yml': failed to parse action reference './.github/workflows/license-check.yml': invalid action reference: ./.github/workflows/license-check.yml
JAORMX added a commit that referenced this issue Dec 12, 2023
This skips local references from the list sub-command, since these
are not relevant. We'll parse them anyway and output their inner actions
which is what we really care about.

We have a similar mechanism for the replacer piece of `ghactions`.

Closes: #39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant