ci: refactor to native change detection #70
Reference in New Issue
Block a user
Delete Branch "ci-change-to-native-change-detection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removing the 3rd party dependent "check-changes" job, while keeping the "test" job. Replacing the check-changes with GitHub Action's native "paths" parameter.
The PR title suggests refactoring to native change detection, but the diff removes the 'check-changes' job which is still referenced in the test job's condition. This creates a dependency on a non-existent job.
Restore the 'check-changes' job or remove its reference from the test job's 'if' condition
Verify that the refactor properly replaces the external dorny/paths-filter action with native GitHub Actions features
Check if the 'linux_${{ matrix.arch }}' syntax in the test job's runs-on is intentional and properly defined
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' condition from the 'test' job since the 'check-changes' job has been removed
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' line from the test job since the check-changes job has been removed
Verify that all references to the removed job are properly cleaned up
The PR title and description align with the changes, but there's a critical issue. The 'test' job's 'if' condition still references the removed 'check-changes' job, which no longer exists. This will cause the workflow to fail.
Restore the 'check-changes' job or remove its reference from the test job's 'if' condition
Verify that the refactor properly replaces the external dorny/paths-filter action with native GitHub Actions features
Check if the 'linux_${{ matrix.arch }}' syntax in the test job's runs-on is intentional and properly defined
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' condition from the 'test' job since the 'check-changes' job has been removed
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' line from the test job since the check-changes job has been removed
Verify that all references to the removed job are properly cleaned up
The PR title and description mention replacing the check-changes job with native paths, but the test job's 'if' condition still references the removed check-changes job. This creates an invalid dependency.
Restore the 'check-changes' job or remove its reference from the test job's 'if' condition
Verify that the refactor properly replaces the external dorny/paths-filter action with native GitHub Actions features
Check if the 'linux_${{ matrix.arch }}' syntax in the test job's runs-on is intentional and properly defined
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' condition from the 'test' job since the 'check-changes' job has been removed
Remove the 'if: ${{ needs.check-changes.outputs.changes == 'true' }}' line from the test job since the check-changes job has been removed
Verify that all references to the removed job are properly cleaned up