You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having a monorepo-like repo but it's not fully configured so it's a combination of several folders. Each subfolder has its own Dockerfile and my idea is to only let docker build the Dockerfile of the folder where there are new changes. Currently, I am working on a dev branch that already has an open pull request, the changes can be introduced by either git-push or pull request merge once the development is complete and the branch is merged.
It seems like whatever I committed to GitHub, this toolbox always compares it with what's in the target branch. This causes an issue and my expectation is that as long as any difference exists between the current commit and the last commit, it can be discovered.
Resolving repository path: /home/runner/work/my-repo/my-repo/.
Retrieving changes between target-branch-SHA (poc-api) → source-branch-SHA (vendor-api)
grep: : No such file or directory
/home/runner/work/_actions/tj-actions/changed-files/v34/get-changed-paths.sh: line 66: echo: write error: Broken pipe
Error: Process completed with exit code 1.
In the case above, I wasn't going to compare changes between target branch and source branch yet, instead, the current commit and the previous commit. How can I work around?
The text was updated successfully, but these errors were encountered:
Hi @MemphisMeng, in order to give you an accurate answer can you enable debug logging and update the trace to include all information generated by the changed-files action.
I am having a monorepo-like repo but it's not fully configured so it's a combination of several folders. Each subfolder has its own Dockerfile and my idea is to only let docker build the Dockerfile of the folder where there are new changes. Currently, I am working on a dev branch that already has an open pull request, the changes can be introduced by either git-push or pull request merge once the development is complete and the branch is merged.
It seems like whatever I committed to GitHub, this toolbox always compares it with what's in the target branch. This causes an issue and my expectation is that as long as any difference exists between the current commit and the last commit, it can be discovered.
Workflow yaml file:
Error trackrace:
In the case above, I wasn't going to compare changes between target branch and source branch yet, instead, the current commit and the previous commit. How can I work around?
The text was updated successfully, but these errors were encountered: