-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
[BUG] changed-files-diff-sha prints thousands of lines and takes two minutes to run #855
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. |
@RohanJoshi06 Can you provide the actual log output instead of pictures? To help diagnose the issue, can you also provide more information on what you did i.e How you set up your workflow? |
we seem to have the same issue. Our setup is the following: - name: 'Verify Changed Files'
id: verify-changed-files
uses: tj-actions/changed-file
with:
fetch_depth: 2
files: |
app.py
./some_folder/**
cdk*.json and it produces thousands (for 20 minutes and counting) of lines like
|
@skalinets @RohanJoshi06 This issue should be resolved. |
i could still see the issue in v34: 2mins run, but this time with less output and different error:
this is the env:
output from changed-files-diff-sha:
|
@ngdah Can you provide your workflow setup i.e what was the configuration of the checkout and changed files action? |
|
@ngdah Can you upgrade to v3 - name: Checkout code
uses: actions/checkout@v3 |
bumping the checkout action version from v2 to v3 helps. thanks jackton! |
Hi @jackton1 we are facing the same problem sporadically in our project. This is how our job steps look:
And the problem:
Note that I repladced the urls to our private github for *** Any suggestions on how to fix this? |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
Only one json file was changed, yet changed-files-diff-sha went haywire. All screenshots on the bug is contained in this gist:
https://gist.github.com/RohanJoshi06/c875cad897c4e2a4b902fc3672d26309
There is also an error at the very end of the step (after the thousand+ lines): Unable to locate a common ancestor between main and TEST-JOB-DELETION with: 0284bb48a7c777e7bcf8d39b20792d86b5d0ba57...e27095d2e7f2d9a00b599e74be281099d2d4a847
A screenshot of that is also attached in the gist.
To Reproduce
Any change to the repository caused this.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
The expected behavior is that it provides the changed files without taking so long and printing so many lines for a simple change.
Relevant log output
Log output is again shown in this gist: https://gist.github.com/RohanJoshi06/c875cad897c4e2a4b902fc3672d26309
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: