Skip to content

Commit

Permalink
feat(github-action)!: Update tj-actions/changed-files ( v43 → v44 ) (#…
Browse files Browse the repository at this point in the history
…3327)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[tj-actions/changed-files](https://togithub.com/tj-actions/changed-files)
| action | major | `v43` -> `v44` |

---

### Release Notes

<details>
<summary>tj-actions/changed-files (tj-actions/changed-files)</summary>

###
[`v44`](https://togithub.com/tj-actions/changed-files/releases/tag/v44)

[Compare
Source](https://togithub.com/tj-actions/changed-files/compare/v43...v44)

### 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.

##### Important Note for Users

To take advantage of this new behaviour, it's necessary to specify the
fork repository explicitly when performing the checkout step in your
workflows. Below is an example configuration that demonstrates how to do
this:

```yml
- uses: actions/checkout@v4
  with:
    repository: ${{ github.event.pull_request.head.repo.full_name }}
```

This modification ensures that your workflows correctly identify and
interact with the source repository for PRs originating from forks.

***

#### What's Changed

- Upgraded to v43.0.1 by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#2004
- chore(deps): lock file maintenance by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#2005
- chore(deps): update typescript-eslint monorepo to v7.4.0 by
[@&#8203;renovate](https://togithub.com/renovate) in
[tj-actions/changed-files#2006
- fix: bug with prs from forks returning incorrect set of changed files
by [@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2007
- fix: check for setting remote urls for forks by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2009
- fix: update to add the fork remote by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2010
- fix: update previous sha for forks by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2011
- fix: ensure the fork remote doesn't exists before creating it by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2012
- chore: update description of other_deleted_files output by
[@&#8203;tonyejack1](https://togithub.com/tonyejack1) in
[tj-actions/changed-files#2008
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#2013
- remove: unused code by
[@&#8203;jackton1](https://togithub.com/jackton1) in
[tj-actions/changed-files#2014
- chore: update description of outputs removing asterisks by
[@&#8203;tonyejack1](https://togithub.com/tonyejack1) in
[tj-actions/changed-files#2015
- Updated README.md by
[@&#8203;tj-actions-bot](https://togithub.com/tj-actions-bot) in
[tj-actions/changed-files#2016

#### New Contributors

- [@&#8203;tonyejack1](https://togithub.com/tonyejack1) made their first
contribution in
[tj-actions/changed-files#2008

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

***

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzIuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3Mi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: repo-jeeves[bot] <106431701+repo-jeeves[bot]@users.noreply.github.com>
  • Loading branch information
repo-jeeves[bot] committed Mar 27, 2024
1 parent 2fbc0a1 commit 7ae3241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/flux-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Get Changed Clusters
id: changed-clusters
uses: tj-actions/changed-files@20576b4b9ed46d41e2d45a2256e5e2316dde6834 # v43
uses: tj-actions/changed-files@2d756ea4c53f7f6b397767d8723b3a10a9f35bf2 # v44
with:
files: kubernetes/**
dir_names: true
Expand Down

0 comments on commit 7ae3241

Please sign in to comment.