-
Notifications
You must be signed in to change notification settings - Fork 248
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
Picking up extra files during workflow dispatch. #71
Comments
So I played with a few parameters and got it working. With the extra params Any explanation why this fixed it? Possibly, I don't correctly understand what these parameters are doing, or the defaults are not set correctly?
Here are the logs:
|
Hello, I will try to explain what happened: That's where the bug is. After initial fetch there was 46 commits on main. Then after |
Thank you for mastering the dark arts of git and building this action! I'm glad you've uncovered what the issue is. 🙇 |
Made my day :) Unfortunately I have to keep this open for a week as I didn't manage to fix it before my vacation. |
Enjoy your vacation 🏖️ |
When I merge a PR, the filters work correctly, but when I run the same thing from a workflow_dispatch trigger, this action views all files as
added
. From the logs, I seeNo merge base found - all files will be listed as added
when the base is correctly resolved asmain
. This happens even when the number of commits in the PR is small, so I don't think increasingdepth
would fix this.Here's the relevant snippet from my action:
When run as workflow_dispatch, all files in
es_settings
directory are flagged as added even though none of these files changed.Here's the run logs during
workflow_dispatch
:and here's the run logs when running from a merge:
Am I using this wrong during
workflow_dispatch
? It looks like thebase
ofmain
branch is inferred correctly, but no merge base is being correctly set?The text was updated successfully, but these errors were encountered: