Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update tj-actions/changed-files action to v44 #351

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 25, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
tj-actions/changed-files action major v35 -> v44

Release Notes

tj-actions/changed-files (tj-actions/changed-files)

v44

Compare Source

Changes in v44.3.0

What's Changed

Full Changelog: tj-actions/changed-files@v44.2.0...v44.3.0


Changes in v44.2.0

What's Changed

Full Changelog: tj-actions/changed-files@v44.1.0...v44.2.0


Changes in v44.1.0

What's Changed

Full Changelog: tj-actions/changed-files@v44.0.1...v44.1.0


Changes in v44.0.1

What's Changed

Full Changelog: tj-actions/changed-files@v44...v44.0.1


Changes in v44.0.0

🔥🔥 BREAKING CHANGE 🔥🔥

Overview

We've made a significant update to how pull requests (PRs) from forked repositories are processed. This improvement not only streamlines the handling of such PRs but also fixes a previously identified issue.

Before the Change

Previously, when you created a pull request from a forked repository, any files changed in the target branch after the PR creation would erroneously appear as part of the PR's changed files. This made it difficult to distinguish between the actual changes introduced by the PR and subsequent changes made directly to the target branch.

What Has Changed

With this update, a pull request from a fork will now only include the files that were explicitly changed in the fork. This ensures that the list of changed files in a PR accurately reflects the contributions from the fork, without being muddled by unrelated changes to the target branch.


What's Changed

New Contributors

Full Changelog: tj-actions/changed-files@v43.0.1...v44.0.0


v43

Compare Source

Changes in v43.0.1
What's Changed

Full Changelog: tj-actions/changed-files@v43...v43.0.1


Changes in v43.0.0
🔥🔥 BREAKING CHANGE 🔥🔥
  • any_{changed, modified, deleted} outputs now return true when no file/directory patterns are specified.
What's Changed

Full Changelog: tj-actions/changed-files@v42...v43.0.0


v42

Compare Source

Changes in v42.1.0

🚀 🚀 New Feature 🚀 🚀

  • Use changed-files output to run matrix jobs by simply setting the new matrix input to true.

This serves as an alias for setting the json input to true and the escape_json input to false

      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v42
        with:
           matrix: true

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.1.0


Changes in v42.0.7

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.7


Changes in v42.0.6

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.6


Changes in v42.0.5

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.5


Changes in v42.0.4

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.4


Changes in v42.0.3

What's Changed

New Contributors

Full Changelog: tj-actions/changed-files@v42...v42.0.3


Changes in v42.0.2

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.2


Changes in v42.0.1

What's Changed

Full Changelog: tj-actions/changed-files@v42...v42.0.1


Changes in v42.0.0

🔥🔥 BREAKING CHANGE 🔥🔥

  • Input file patterns that end with a / would now match all sub-files within the directory without requiring you to specify the globstar pattern.
...
      - name: Get changed files
        id: changed-files
        uses: tj-actions/changed-files@v42
        with:
          files: 'dir/'  # Would also be the same as dir/** 

What's Changed

Full Changelog: tj-actions/changed-files@v41...v42.0.0


v41

Compare Source

Changes in v41.1.2
What's Changed

Full Changelog: tj-actions/changed-files@v41...v41.1.2


Changes in v41.1.1
What's Changed

Full Changelog: tj-actions/changed-files@v41...v41.1.1


Changes in v41.1.0
What's Changed

Full Changelog: tj-actions/changed-files@v41...v41.1.0


Changes in v41.0.1
What's Changed

Full Changelog: tj-actions/changed-files@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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants