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

Make working-directory configurable #14

Closed
vbrandl opened this issue Jun 15, 2023 · 5 comments
Closed

Make working-directory configurable #14

vbrandl opened this issue Jun 15, 2023 · 5 comments

Comments

@vbrandl
Copy link

vbrandl commented Jun 15, 2023

I have a polyglot project with a backend in rust under ./backend and a frontend in elm. The project does not have a Cargo.toml or Cargo.lock in the project root. This causes the action to fail.

For other actions, I can overwrite the working-directory to fix this problem:

defaults:
  run:
    working-directory: backend

It would be nice to have an option for the audit action to run in a subdirectory.

@GiyoMoon
Copy link

Would love to see this!

@d0x2f
Copy link

d0x2f commented Nov 5, 2023

Is there a workaround for this?

@GiyoMoon
Copy link

GiyoMoon commented Nov 5, 2023

@d0x2f I created my own reusable workflow where I allow the working-dir to be overwritten :) I don't think its possible with this action at the moment.
https://github.com/GiyoMoon/workflows/blob/main/.github/workflows/rust-audit.yml

@DenuxPlays
Copy link

Any updates on this?
This is essential for monorepos!

@CommanderStorm
Copy link

@vbrandl
I think this issue was accidentally left open after merging #21 ^^

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

6 participants