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 have an Action configured that runs when a PR is merged into Main. If my PR (1) was submitted before another PR (2), and the other PR (2) is merged 1st, this github action returns the changes from both PRs (1 and 2). I only want the changes from the PR that is running that action (1 in this example).
I would expect to see these files in the Action but instead, I see considerably more, with no apparent way to differentiate which changes originated from where so that I could filter them out.
To Reproduce
Submit PR 1
Submit PR 2
Merge # into main branch
Run changed-files on PR 1
File changes from both 1 and 2 are included
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Only the changed files in the PR are pulled in. Like how the GitHub UI does it.
Relevant log output
Every file is change is pulled
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience.
hayescode
changed the title
[BUG] <title>
[BUG] Changes are retrieved for everything since initial commit, instead of the current context like the GitHub UI
Feb 16, 2023
@jackton1 it's also happening on 35.5.5. Do I need to pull origin before running this action or something? It doesn't happen every time which make me think it's a bug.
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
I have an Action configured that runs when a PR is merged into Main. If my PR (1) was submitted before another PR (2), and the other PR (2) is merged 1st, this github action returns the changes from both PRs (1 and 2). I only want the changes from the PR that is running that action (1 in this example).
I would expect to see these files in the Action but instead, I see considerably more, with no apparent way to differentiate which changes originated from where so that I could filter them out.
To Reproduce
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Only the changed files in the PR are pulled in. Like how the GitHub UI does it.
Relevant log output
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: