changed-files: [BUG] When running in a workflow generated by a dependabot BUMP PR, the action fails
Is there an existing issue for this?
- I have searched the existing issues
Does this issue exist in the latest version?
- I’m using the latest release
Describe the bug?
When dependabot creates a PR to bump a package, calls to this action results in one of two errors
Resolving repository path...
Setting up 'temp_changed_files' remote...
No 'temp_changed_files' remote found
Creating 'temp_changed_files' remote...
error: remote temp_changed_files already exists.
Error: Process completed with exit code 3.
or
Resolving repository path...
Setting up 'temp_changed_files' remote...
No 'temp_changed_files' remote found
Creating 'temp_changed_files' remote...
Getting HEAD info...
fatal: could not read Password for 'https://***@github.com': No such device or address
Error: Process completed with exit code 128.
To Reproduce
Simply create a workflow that triggers on Pull Requests and uses tj-actions/changed-files@v11.7
If dependabot creates the PR, then the action fails.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Should work just the same as if a normal user created a PR
Relevant log output
See above
Anything else?
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- Resolve error adding remote Fixes: #268 — committed to tj-actions/changed-files by jackton1 3 years ago
- Resolve error adding remote (#269) Fixes: #268 — committed to tj-actions/changed-files by jackton1 3 years ago
I will just skip the tests - which is a bit annoying because I have loads of checks, so they all appear (for each dependabot PR) as skipped when I would rather not see them at all. Anyway, thanks for the help.