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
{{ message }}
Repository navigation
PR is not updated even there are changes after new incoming changes on master #3159
This is very strange because it looks like this run ran against the correct commit on master with the changes you merged.
The action thinks there is no diff between the changes that were made during the workflow and the update_target branch. To check this, you could add a step to the workflow just before the action runs:
- run: git --no-pager diff
Effectively, the action should rebase changes when creates a commit. So I'm confused why this has happened.
Oh wait. I see what's happening now. I think you've run into an edge case that I've not considered. Partially merging content from within a single commit.
There is no overall diff, that is correct. There is, however, a diff for that specific commit on the branch. I need to make a test for this and find a way to catch this edge case.
You can fix this by just deleting the update_target branch and running the workflow again. It will recreate the branch with any remaining diff.
@peter-evans Dear Peter, seems like that's my case. I've created a trigger workflow with matrix, it runs properly twice, temporarily creates new files per each run, but... only 1 file in commit in PR by the end of run.
Aaah, I got it. The subsequent iterations through the matrix replaces previous changes ((
Activity
peter-evans commentedon Aug 14, 2024
Hi @laeubi
This is very strange because it looks like this run ran against the correct commit on master with the changes you merged.
The action thinks there is no diff between the changes that were made during the workflow and the
update_targetbranch. To check this, you could add a step to the workflow just before the action runs:Effectively, the action should rebase changes when creates a commit. So I'm confused why this has happened.
peter-evans commentedon Aug 14, 2024
Oh wait. I see what's happening now. I think you've run into an edge case that I've not considered. Partially merging content from within a single commit.
There is no overall diff, that is correct. There is, however, a diff for that specific commit on the branch. I need to make a test for this and find a way to catch this edge case.
You can fix this by just deleting the
update_targetbranch and running the workflow again. It will recreate the branch with any remaining diff.timteka commentedon Aug 27, 2024
@peter-evans Dear Peter, seems like that's my case. I've created a trigger workflow with matrix, it runs properly twice, temporarily creates new files per each run, but... only 1 file in commit in PR by the end of run.
Aaah, I got it. The subsequent iterations through the matrix replaces previous changes ((
peter-evans commentedon Aug 28, 2024
This now has a fix in the upcoming v7 release.