-
config: post-merge:
commands:
install-deps:
glob: "package.json"
run: pnpm install problem: |
Beta Was this translation helpful? Give feedback.
Answered by
mrexox
Jun 27, 2024
Replies: 1 comment 1 reply
-
Hey @mustafa0x! For the post-merge:
commands:
install-deps:
files: git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD
glob: "package.json"
run: pnpm install |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mustafa0x
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @mustafa0x! For the
post-merge
hook there is no implicit git command to get the changed files. To fix this you can add afiles
option with the git command that gets the files for filtering: