-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
How to see the changed files after the PR is merged ? #874
Comments
Thanks for reporting this issue, don't forget to star this project if you haven't already to help us reach a wider audience. |
@DimasAdinugroho I believe the setup you have is correct this would show all changes between the target branch and the PR branch you can optionally use on:
push:
branches:
- main
jobs:
check_pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files-models
uses: tj-actions/changed-files@v34
with:
since_last_remote_commit: true
files: |
my-directory/** Main last remote commit A..B (Latest commit which includes changes from the Pull Request) See: https://github.com/tj-actions/changed-files/blob/main/.github/workflows/test.yml and https://github.com/tj-actions/changed-files#examples for more examples |
@kahochoi I believe your issue is different as this appears to likely have been resolved with the lastest release. Let me know if the issue persist, in which case I'll suggest creating a new Issue. |
I also meet the same problem. Adding |
@yuku I’ll suggest upgrading to the latest release. |
I have a github action that running after the PR is closed and merged. But how do I see the changed files between the target branch (devel) before merged and the last commit of the source branch ? This is my current yaml file:
The text was updated successfully, but these errors were encountered: