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] Infinite loop on v34.4.0 #803
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. |
- name: Check out (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files (PR)
if: ${{ github.event_name == 'pull_request' }}
id: changed-files
uses: tj-actions/changed-files@v34.4.0
with:
files: |
**.js
**/**.js
**.jsx
**/**.jsx
|
@tsigouris007 |
Hi @jackton1 apart from the patterns the infinite loop did not stop. I'm guessing I could omit the ones that look like |
Hello again @jackton1 , The only solution to this as far as I see atm is to keep using this: - name: Check out (PR)
if: ${{ github.event_name == 'pull_request' }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files (PR)
if: ${{ github.event_name == 'pull_request' }}
id: changed-files
uses: tj-actions/changed-files@v34.3.4
with:
files: |
**.js
**/**.js
**.jsx
**/**.jsx |
@tsigouris007 Have you tried upgrading to the latest version? |
@jackton1 seems like v34.4.2 does the trick. |
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
The step gets stuck in an infinite loop while checking out.
I am using it to get changed files to scan with Semgrep on a Pull Request.
Changing my step to version 34.3.4 does not raise the same issue.
The loop gets stuck as seen in the attached image:
To Reproduce
Skipped the rest as the execution does not continue any further anyways.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
To work properly.
Relevant log output
The text was updated successfully, but these errors were encountered: