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

Workflow custom commands should be executed from the project directory by default #259

Closed
fleroux514 opened this issue May 16, 2023 · 1 comment

Comments

@fleroux514
Copy link
Contributor

For instance, with this digger.yaml config:

projects:
  - name: proj_a_dev
    dir: ./proj_a/development
    workflow: my_workflow
  - name: proj_a_prod
    dir: ./proj_a/production
    workflow: my_workflow
workflows:
  my_workflow:
    plan:
      steps:
      - init
      - plan
      - run: pwd

I would expect pwd to return the path to ./proj_a/development and ./proj_a/production when executed from both projects respectively. Currently it returns the root repo path.

Need this functionality to run commands like checkov in all projects.

@Spartakovic
Copy link
Contributor

#261

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

No branches or pull requests

2 participants