build(deps): bump tj-actions/changed-files from 45.0.2 to 47.0.6#22
build(deps): bump tj-actions/changed-files from 45.0.2 to 47.0.6#22dependabot[bot] wants to merge 1 commit intomasterfrom
Conversation
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 45.0.2 to 47.0.6. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@48d8f15...9426d40) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-version: 47.0.6 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Up to standards ✅🟢 Issues
|
There was a problem hiding this comment.
Pull Request Overview
While the dependency version update is technically correct, it introduces a critical logic regression. In version 47.0.6 of tj-actions/changed-files, the any_deleted output no longer includes renamed files, and the renamed_files output has shifted to returning new paths rather than old ones. These breaking changes will cause the automated redirect reminder system to fail for PRs containing renames. This logic must be adjusted to ensure documentation integrity is maintained.
About this PR
- The upgrade from v45 to v47 introduces significant breaking changes. Specifically, the 'any_deleted' output no longer triggers for renamed files, and the 'renamed_files' output schema has changed. This requires immediate updates to the workflow logic to avoid missing documentation redirect requirements.
Test suggestions
- Verify the workflow detects deleted files in the 'docs/' directory.
- Verify the workflow detects renamed files in the 'docs/' directory.
- Confirm the space-separated output formatting logic in the 'Format list of deleted files' step is still compatible with v47.0.6.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the workflow detects deleted files in the 'docs/' directory.
2. Verify the workflow detects renamed files in the 'docs/' directory.
3. Confirm the space-separated output formatting logic in the 'Format list of deleted files' step is still compatible with v47.0.6.
🗒️ Improve review quality by adding custom instructions
| - name: Get changed docs md files | ||
| id: changed-files | ||
| uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45 | ||
| uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 |
There was a problem hiding this comment.
🔴 HIGH RISK
This version bump introduces a logic change: renamed files are no longer tracked by the any_deleted output. This will cause the redirect reminder comment to be skipped for PRs that only rename files. Try running the following prompt in your coding agent: > Update .github/workflows/deleted-files.yml to handle renamed files by changing the condition at line 32 to steps.changed-files.outputs.any_deleted == 'true' || steps.changed-files.outputs.any_renamed == 'true'. Also, update line 26 to use steps.changed-files.outputs.renamed_files_old to ensure the redirect reminder shows the original file paths.
Bumps tj-actions/changed-files from 45.0.2 to 47.0.6.
Release notes
Sourced from tj-actions/changed-files's releases.
... (truncated)
Changelog
Sourced from tj-actions/changed-files's changelog.
... (truncated)
Commits
9426d40chore(deps): bump lodash from 4.17.23 to 4.18.1 (#2837)32de080chore(deps): bump peter-evans/create-pull-request from 8.1.0 to 8.1.1 (#2843)2487d12chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 (#2844)cef85a3chore(deps-dev): bump@types/nodefrom 25.5.0 to 25.6.0 (#2846)7b082dechore(deps-dev): bump prettier from 3.8.1 to 3.8.3 (#2848)07224cachore(deps): bump github/codeql-action from 4.35.1 to 4.35.2 (#2849)2bb1357chore(deps-dev): bump jest from 30.2.0 to 30.3.0 (#2822)cc98117chore(deps): bump nrwl/nx-set-shas from 4.4.0 to 5.0.1 (#2829)786e421chore(deps): bump yaml from 2.8.2 to 2.8.3 (#2830)726b41bchore(deps-dev): bump eslint-plugin-jest from 29.15.0 to 29.15.1 (#2831)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)