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
For some reason this action is failing to diff submodules in our repository all of a sudden. I did some digging and couldn't figure out why, but it seems to be happening in get_changed_paths.sh:117.
For our use case we don't need to find changes inside submodules, only if they changed at all. I considered submitting a pull request that disables this functionality, but in get_changed_paths.sh:123 we explicitly tell git diff to ignore submodules so my solution wouldn't work.
A change would be detected in plugins/PowerTools, as seen in git diff --name-only --submodule=diff fd5726dac06f9b5da67045f57f512dc2bd5e4b90 4d246b71faba638ddb8f7c5a1df2c31f8e2de96.
Relevant log output
Resolving repository path: /home/runner/work/decky-plugin-database/decky-plugin-database/.
Retrieving changes between fd5726dac06f9b5da67045f57f512dc2bd5e4b90 (main) → 4d246b71faba638ddb8f7c5a1df2c31f8e2de96e (main)
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
##[debug]Non Matching changed files: plugins/PowerTools/::error::Failed to get changed files between: 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
##[debug]Non Matching modified files: plugins/PowerTools/::error::Failed to get changed files between: 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
Is there an existing issue for this?
Does this issue exist in the latest version?
Describe the bug?
For some reason this action is failing to diff submodules in our repository all of a sudden. I did some digging and couldn't figure out why, but it seems to be happening in
get_changed_paths.sh:117
.For our use case we don't need to find changes inside submodules, only if they changed at all. I considered submitting a pull request that disables this functionality, but in
get_changed_paths.sh:123
we explicitly tellgit diff
to ignore submodules so my solution wouldn't work.You can see it happening here: https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116#step:3:915
To Reproduce
get-changed-paths.sh
(as seen in https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116#step:3:886)get-changed-paths.sh
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
A change would be detected in
plugins/PowerTools
, as seen ingit diff --name-only --submodule=diff fd5726dac06f9b5da67045f57f512dc2bd5e4b90 4d246b71faba638ddb8f7c5a1df2c31f8e2de96
.Relevant log output
Anything else?
logs_984.zip
https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116
Code of Conduct
The text was updated successfully, but these errors were encountered: