Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 23 Dec 12:10
· 241 commits to main since this release

Changes in v41.1.2

What's Changed

  • Upgraded to v41.1.1 by @tj-actions-bot in #1854
  • chore(deps): update dependency prettier to v3.2.2 by @renovate in #1855
  • chore(deps): lock file maintenance by @renovate in #1856
  • chore(deps): update dependency @types/node to v20.11.1 by @renovate in #1857
  • chore(deps): update dependency @types/node to v20.11.2 by @renovate in #1858
  • chore(deps): update typescript-eslint monorepo to v6.19.0 by @renovate in #1860
  • feat: enhance error handling and working directory resolution by @jackton1 in #1859
  • chore(deps): update dependency @types/node to v20.11.3 by @renovate in #1862
  • chore(deps): update dependency @types/node to v20.11.4 by @renovate in #1863
  • chore(deps): update tj-actions/eslint-changed-files action to v22 by @renovate in #1864
  • chore(deps): update dependency prettier to v3.2.3 by @renovate in #1867
  • fix: bug with incorrect action path by @jackton1 in #1866
  • chore(deps): update dependency @types/node to v20.11.5 by @renovate in #1868

Full Changelog: v41...v41.1.2


Changes in v41.1.1

What's Changed

Full Changelog: v41...v41.1.1


Changes in v41.1.0

What's Changed

Full Changelog: v41...v41.1.0


Changes in v41.0.1

What's Changed

Full Changelog: v41...v41.0.1


Changes in v41.0.0

🔥 🔥 BREAKING CHANGE 🔥 🔥

A new safe_output input is now available to prevent outputting unsafe filename characters (Enabled by default). This would escape characters in the filename that could be used for command injection.

Note

This can be disabled by setting the safe_output to false this comes with a recommendation to store all outputs generated in an environment variable first before using them.

Example

...
    - name: Get changed files
      id: changed-files
      uses: tj-actions/changed-files@v40
      with:
        safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.

    - name: List all added files
      env:
        ADDED_FILES: ${{ steps.changed-files.outputs.added_files }}
      run: |
        for file in "$ADDED_FILES"; do
          echo "$file was added"
        done
...

What's Changed

Full Changelog: v40...v41.0.0