Skip to content

act --help not working when not in project root and the a push-triggered workflow has a call to a local WF #33

@tomsit-ionos

Description

@tomsit-ionos

given

  • $PROJECT is the git project root
  • .github/workflows/foo.yaml containing:
    jobs:
      cd:
        uses: ./.github/workflows/build-service-image.yaml
  • current dir is $PROJECT/bar

when

act --help

then

$ act --help
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock' 
Error: stat $PROJECT/bar/.github/workflows: no such file or directory

expected

act --help should always work independent of any setup problems that might exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions