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
When running the action after a pull request merge to get the list of files changed in the source branch no files are found because the action is comparing the source branch to the merge commit in the target branch.
This is sort of expected since the diff between the target branch and the source branch is null after merging the source branch but according to #874 showing the list of files changed should be possible.
To Reproduce
Setup the action to run when github.event.pull_request.merged == true
The action should still show the list of changed files between the target branch and source branch after the source branch is merged in the target branch.
Relevant log output
See https://github.com/remisalmon/test-actions/actions/runs/6124183707/job/16623667321
Has all relevant logs been included?
I've included all relevant logs
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:
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
When running the action after a pull request merge to get the list of files changed in the source branch no files are found because the action is comparing the source branch to the merge commit in the target branch.
This is sort of expected since the diff between the target branch and the source branch is null after merging the source branch but according to #874 showing the list of files changed should be possible.
To Reproduce
github.event.pull_request.merged == true
all_modified_files
shows an empty stringReproduced in https://github.com/remisalmon/test-actions/actions/runs/6124183707/job/16623667321 with this workflow: https://github.com/remisalmon/test-actions/blob/main/.github/workflows/ci.yml and this pull request: remisalmon/test-actions#1.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-22.04
Expected behavior?
The action should still show the list of changed files between the target branch and source branch after the source branch is merged in the target branch.
Relevant log output
Has all relevant logs been included?
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: