-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It looks like the git diff --stat call in the "check workspace" step doesn't use the working-dir input arg.
https://github.com/chainguard-dev/digestabot/blob/main/action.yml#L120
When running digestabot with our monorepo checked out in $GITHUB_WORKSPACE/my_repo, it returns the following error
- uses: chainguard-dev/[email protected]
with:
token: ${{ steps.generate-token.outputs.token }}
working-dir: $GITHUB_WORKSPACE/my_repo
Run git diff --stat
warning: Not a git repository. Use --no-index to compare two paths outside a working tree
usage: git diff --no-index [<options>] <path> <path>
Diff output format options
-p, --patch generate patch
-s, --no-patch suppress diff output
....
This may also be the case with the "Create Pull Request" step, since that step doesn't set a path input on the peter-evans action:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working