Skip to content

Conversation

@Arkessler
Copy link

Patches #49

It's safe to cd into the directory without checking whether the input is set because the default value of inputs.working-dir is ..

Author: Alexi Kessler alexi@synqly.com

Author: Alexi Kessler <alexi@synqly.com>
env:
CREATE_PR: ${{ inputs.create-pr }}
shell: bash
run: |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you move to here

working-directory: ${{ inputs.working-dir }}

instead of using the cd?

thanks!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and add a test case that run only in the https://github.com/chainguard-dev/digestabot/tree/main/testfiles/test-dir to validate

@dprotaso
Copy link

@Arkessler you able to finish up the PR?

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

Successfully merging this pull request may close these issues.

3 participants