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

Does not support public repo action paths #110

Closed
Nuru opened this issue Feb 27, 2020 · 2 comments
Closed

Does not support public repo action paths #110

Nuru opened this issue Feb 27, 2020 · 2 comments
Labels
kind/bug Something isn't working

Comments

@Nuru
Copy link

Nuru commented Feb 27, 2020

According to the official docs the syntax for referring to an action from a public repo is
{owner}/{repo}@{ref} or {owner}/{repo}/{path}@{ref}.

act does not support the {owner}/{repo}/{path}@{ref} syntax.

Given workflow path-example.yml

name: Path Example
on: pull_request

jobs:
  example:
    runs-on: ubuntu-latest
    steps:
    - uses: cloudposse/actions/github/slash-command-dispatch@0.14.0

act treats the path as part of the repo name, not a path within it

 $ act
[Path Example/example] 🚀  Start image=node:12.6-buster-slim
[Path Example/example]   🐳  docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Path Example/example]   🐳  docker cp src=/Users/nuru/dev/example/. dst=/github/workspace
[Path Example/example] ⭐  Run cloudposse/actions/github/slash-command-dispatch@0.14.0
[Path Example/example]   ☁  git clone 'https://github.com/cloudposse/actions' # ref=0.14.0
[Path Example/example]   ❌  Failure - cloudposse/actions/github/slash-command-dispatch@0.14.0
Error: open /Users/nuru/.cache/act/cloudposse-actions-github-slash-command-dispatch@0.14.0/action.yaml: no such file or directory
@Nuru Nuru changed the title Does not support action paths Does not support public repo action paths Feb 27, 2020
@cplee cplee added the kind/bug Something isn't working label Feb 27, 2020
cplee added a commit that referenced this issue Feb 27, 2020
@cplee cplee closed this as completed in 6e1da1a Feb 27, 2020
@cplee
Copy link
Contributor

cplee commented Feb 27, 2020

fixed on master, will be in next release.

@cplee
Copy link
Contributor

cplee commented Feb 28, 2020

available in v0.2.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants