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 actions/download-artifact action to v4 #1793

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 14, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
actions/download-artifact action major v3 -> v4

Release Notes

actions/download-artifact (actions/download-artifact)

v4

Compare Source


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 is behind base branch, 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.

@renovate renovate bot added dependencies merge when passing Merge the PR automatically once all status checks have passed labels Dec 14, 2023
Copy link
Contributor Author

renovate bot commented Dec 14, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@jackton1 jackton1 merged commit 154ca89 into main Dec 14, 2023
99 checks passed
@jackton1 jackton1 deleted the renovate/actions-download-artifact-4.x branch December 14, 2023 20:00
jackton1 added a commit that referenced this pull request Dec 23, 2023
kodiakhq bot referenced this pull request in cloudquery/cloudquery Jan 2, 2024
…#15965)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tj-actions/changed-files](https://github.com/tj-actions/changed-files) | action | major | `v39` -> `v40` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

### GitHub Vulnerability Alerts

#### [CVE-2023-51664](https://github.com/tj-actions/changed-files/security/advisories/GHSA-mcph-m25j-8j63)

### Summary
The `tj-actions/changed-files` workflow allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets.

### Details
The [`changed-files`](https://github.com/tj-actions/changed-files) action returns a list of files changed in a commit or pull request which provides an `escape_json` input [enabled by default](https://github.com/tj-actions/changed-files/blob/94549999469dbfa032becf298d95c87a14c34394/action.yml#L136), only escapes `"` for JSON values. 

This could potentially allow filenames that contain special characters such as `;` and \` (backtick) which can be used by an attacker to take over the [GitHub Runner](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) if the output value is used in a raw fashion (thus being directly replaced before execution) inside a `run` block. By running custom commands an attacker may be able to steal **secrets** such as `GITHUB_TOKEN` if triggered on other events than `pull_request`. For example on `push`.

#### Proof of Concept

1. Submit a pull request to a repository with a new file injecting a command. For example `$(whoami).txt` which is a valid filename.
2. Upon approval of the workflow (triggered by the pull request), the action will get executed and the malicious pull request filename will flow into the `List all changed files` step below.

```yaml
      - name: List all changed files
        run: |
          for file in $; do
            echo "$file was changed"
          done
```

Example output:

```yaml

##[group]Run for file in $(whoami).txt; do
    for file in $(whoami).txt; do
        echo "$file was changed"
    done
shell: /usr/bin/bash -e {0}

##[endgroup]
runner.txt was changed
```

### Impact

This issue may lead to arbitrary command execution in the GitHub Runner.

### Resolution
- A new `safe_output` input would be enabled by default and return filename paths escaping special characters like ;, ` (backtick), $, (), etc for bash environments.

- A safe recommendation of using environment variables to store unsafe outputs.

```yaml
- name: List all changed files
  env:
    ALL_CHANGED_FILES: $
  run: |
    for file in "$ALL_CHANGED_FILES"; do
      echo "$file was changed"
    done
```

### Resources

* [Keeping your GitHub Actions and workflows secure Part 2: Untrusted input](https://securitylab.github.com/research/github-actions-untrusted-input/)
* [Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

---

### Release Notes

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

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

[Compare Source](https://github.com/tj-actions/changed-files/compare/v39...v40)

### Changes in v40.2.3

#### What's Changed

-   Upgraded to v40.2.2 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1787](https://github.com/tj-actions/changed-files/pull/1787)
-   chore(deps): update dependency prettier to v3.1.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1788](https://github.com/tj-actions/changed-files/pull/1788)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1789](https://github.com/tj-actions/changed-files/pull/1789)
-   chore(deps): update typescript-eslint monorepo to v6.14.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1790](https://github.com/tj-actions/changed-files/pull/1790)
-   chore(deps): update github/codeql-action action to v3 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1792](https://github.com/tj-actions/changed-files/pull/1792)
-   chore(deps): update actions/download-artifact action to v4 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1793](https://github.com/tj-actions/changed-files/pull/1793)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1795](https://github.com/tj-actions/changed-files/pull/1795)
-   chore(deps): update dependency eslint to v8.56.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1796](https://github.com/tj-actions/changed-files/pull/1796)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.5 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1797](https://github.com/tj-actions/changed-files/pull/1797)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1798](https://github.com/tj-actions/changed-files/pull/1798)
-   chore(deps): update actions/setup-node action to v4.0.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1799](https://github.com/tj-actions/changed-files/pull/1799)

**Full Changelog**: tj-actions/changed-files@v40...v40.2.3

***

### Changes in v40.2.2

#### What's Changed

-   Upgraded to v40.2.1 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1771](https://github.com/tj-actions/changed-files/pull/1771)
-   chore(deps): update typescript-eslint monorepo to v6.13.2 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1772](https://github.com/tj-actions/changed-files/pull/1772)
-   chore: Create SECURITY.md by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1773](https://github.com/tj-actions/changed-files/pull/1773)
-   chore: Update package.json by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1774](https://github.com/tj-actions/changed-files/pull/1774)
-   chore(deps-dev): bump [@&#8203;types/jest](https://github.com/types/jest) from 29.5.10 to 29.5.11 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1775](https://github.com/tj-actions/changed-files/pull/1775)
-   chore(deps): update dependency typescript to v5.3.3 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1777](https://github.com/tj-actions/changed-files/pull/1777)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1778](https://github.com/tj-actions/changed-files/pull/1778)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1779](https://github.com/tj-actions/changed-files/pull/1779)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.4 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1781](https://github.com/tj-actions/changed-files/pull/1781)
-   chore(deps): bump tj-actions/branch-names from 7 to 8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1782](https://github.com/tj-actions/changed-files/pull/1782)
-   docs: add rodrigorfk as a contributor for code, test, and bug by [@&#8203;allcontributors](https://github.com/allcontributors) in [https://github.com/tj-actions/changed-files/pull/1785](https://github.com/tj-actions/changed-files/pull/1785)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1786](https://github.com/tj-actions/changed-files/pull/1786)
-   fix: bug recovering deleted files for submodules by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1784](https://github.com/tj-actions/changed-files/pull/1784)

**Full Changelog**: tj-actions/changed-files@v40...v40.2.2

***

### Changes in v40.2.1

#### What's Changed

-   Upgraded to v40.2.0 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1746](https://github.com/tj-actions/changed-files/pull/1746)
-   chore: update README.md by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1749](https://github.com/tj-actions/changed-files/pull/1749)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1750](https://github.com/tj-actions/changed-files/pull/1750)
-   chore(deps): update typescript-eslint monorepo to v6.13.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1751](https://github.com/tj-actions/changed-files/pull/1751)
-   chore(deps): update typescript-eslint monorepo to v6.13.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1753](https://github.com/tj-actions/changed-files/pull/1753)
-   chore: remove unused job by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1754](https://github.com/tj-actions/changed-files/pull/1754)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1755](https://github.com/tj-actions/changed-files/pull/1755)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1757](https://github.com/tj-actions/changed-files/pull/1757)
-   security: remove usage of pull_request_target event from test.yml by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1758](https://github.com/tj-actions/changed-files/pull/1758)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1761](https://github.com/tj-actions/changed-files/pull/1761)
-   test: verify bug writing outputs when files_yaml is used by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1762](https://github.com/tj-actions/changed-files/pull/1762)
-   security: Update test.yml removing pull_request_review event by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1763](https://github.com/tj-actions/changed-files/pull/1763)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.2 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1764](https://github.com/tj-actions/changed-files/pull/1764)
-   chore(deps): update dependency eslint to v8.55.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1765](https://github.com/tj-actions/changed-files/pull/1765)
-   chore(deps): update dependency eslint-config-prettier to v9.1.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1766](https://github.com/tj-actions/changed-files/pull/1766)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1767](https://github.com/tj-actions/changed-files/pull/1767)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1769](https://github.com/tj-actions/changed-files/pull/1769)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.3 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1768](https://github.com/tj-actions/changed-files/pull/1768)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1770](https://github.com/tj-actions/changed-files/pull/1770)

**Full Changelog**: tj-actions/changed-files@v40...v40.2.1

***

### Changes in v40.2.0

#### What's Changed

-   Upgraded to v40.1.1 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1704](https://github.com/tj-actions/changed-files/pull/1704)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1706](https://github.com/tj-actions/changed-files/pull/1706)
-   chore(deps): update dependency prettier to v3.1.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1707](https://github.com/tj-actions/changed-files/pull/1707)
-   chore(deps): update typescript-eslint monorepo to v6.11.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1708](https://github.com/tj-actions/changed-files/pull/1708)
-   chore: Update update-readme.yml by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1709](https://github.com/tj-actions/changed-files/pull/1709)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1710](https://github.com/tj-actions/changed-files/pull/1710)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1711](https://github.com/tj-actions/changed-files/pull/1711)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1712](https://github.com/tj-actions/changed-files/pull/1712)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1713](https://github.com/tj-actions/changed-files/pull/1713)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1714](https://github.com/tj-actions/changed-files/pull/1714)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.9.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1715](https://github.com/tj-actions/changed-files/pull/1715)
-   chore(deps): update dependency eslint to v8.54.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1716](https://github.com/tj-actions/changed-files/pull/1716)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.9.2 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1717](https://github.com/tj-actions/changed-files/pull/1717)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1720](https://github.com/tj-actions/changed-files/pull/1720)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1721](https://github.com/tj-actions/changed-files/pull/1721)
-   chore: simplify matrix example workflow by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1719](https://github.com/tj-actions/changed-files/pull/1719)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1722](https://github.com/tj-actions/changed-files/pull/1722)
-   chore(deps): update typescript-eslint monorepo to v6.12.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1723](https://github.com/tj-actions/changed-files/pull/1723)
-   chore(deps): update dependency typescript to v5.3.2 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1724](https://github.com/tj-actions/changed-files/pull/1724)
-   Bump [@&#8203;types/node](https://github.com/types/node) from 20.9.2 to 20.9.3 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1725](https://github.com/tj-actions/changed-files/pull/1725)
-   chore(deps): update dependency [@&#8203;types/jest](https://github.com/types/jest) to v29.5.9 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1729](https://github.com/tj-actions/changed-files/pull/1729)
-   chore(deps): update dependency [@&#8203;types/micromatch](https://github.com/types/micromatch) to v4.0.6 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1731](https://github.com/tj-actions/changed-files/pull/1731)
-   chore(deps): update dependency [@&#8203;types/lodash](https://github.com/types/lodash) to v4.14.202 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1730](https://github.com/tj-actions/changed-files/pull/1730)
-   Bump [@&#8203;types/lodash](https://github.com/types/lodash) from 4.14.201 to 4.14.202 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1728](https://github.com/tj-actions/changed-files/pull/1728)
-   Bump [@&#8203;types/micromatch](https://github.com/types/micromatch) from 4.0.5 to 4.0.6 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1727](https://github.com/tj-actions/changed-files/pull/1727)
-   Bump [@&#8203;types/jest](https://github.com/types/jest) from 29.5.8 to 29.5.9 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1726](https://github.com/tj-actions/changed-files/pull/1726)
-   Bump [@&#8203;types/node](https://github.com/types/node) from 20.9.3 to 20.9.4 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1732](https://github.com/tj-actions/changed-files/pull/1732)
-   chore(deps): update dependency [@&#8203;types/jest](https://github.com/types/jest) to v29.5.10 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1734](https://github.com/tj-actions/changed-files/pull/1734)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.9.5 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1736](https://github.com/tj-actions/changed-files/pull/1736)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.10.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1737](https://github.com/tj-actions/changed-files/pull/1737)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1743](https://github.com/tj-actions/changed-files/pull/1743)
-   feat: add support for passing branch name to the base_sha and sha inputs by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1742](https://github.com/tj-actions/changed-files/pull/1742)
-   fix: prevent similar commit hashes error when using the branch name by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1744](https://github.com/tj-actions/changed-files/pull/1744)
-   fix: prevent similar commit hashes error when using the branch name by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1745](https://github.com/tj-actions/changed-files/pull/1745)

**Full Changelog**: tj-actions/changed-files@v40...v40.2.0

***

### Changes in v40.1.1

#### What's Changed

-   Upgraded to v40.1.0 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1695](https://github.com/tj-actions/changed-files/pull/1695)
-   chore(deps): update dependency eslint to v8.53.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1696](https://github.com/tj-actions/changed-files/pull/1696)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1697](https://github.com/tj-actions/changed-files/pull/1697)
-   chore(deps): update typescript-eslint monorepo to v6.10.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1698](https://github.com/tj-actions/changed-files/pull/1698)
-   chore(deps): update dependency [@&#8203;types/jest](https://github.com/types/jest) to v29.5.8 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1699](https://github.com/tj-actions/changed-files/pull/1699)
-   chore(deps): update dependency [@&#8203;types/uuid](https://github.com/types/uuid) to v9.0.7 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1702](https://github.com/tj-actions/changed-files/pull/1702)
-   chore(deps): update dependency [@&#8203;types/micromatch](https://github.com/types/micromatch) to v4.0.5 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1701](https://github.com/tj-actions/changed-files/pull/1701)
-   chore(deps): update dependency [@&#8203;types/lodash](https://github.com/types/lodash) to v4.14.201 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1700](https://github.com/tj-actions/changed-files/pull/1700)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.9.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1703](https://github.com/tj-actions/changed-files/pull/1703)

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

***

### Changes in v40.1.0

#### What's Changed

-   Upgraded to v40.0.2 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1689](https://github.com/tj-actions/changed-files/pull/1689)
-   fix(deps): update dependency yaml to v2.3.4 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1691](https://github.com/tj-actions/changed-files/pull/1691)
-   feat: add support for controlling the pattern order by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1693](https://github.com/tj-actions/changed-files/pull/1693)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1694](https://github.com/tj-actions/changed-files/pull/1694)

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

***

### Changes in v40.0.2

#### What's Changed

-   Upgraded to v40.0.1 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1686](https://github.com/tj-actions/changed-files/pull/1686)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.8.10 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1687](https://github.com/tj-actions/changed-files/pull/1687)
-   fix: order of file patterns by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1688](https://github.com/tj-actions/changed-files/pull/1688)

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

***

### Changes in v40.0.1

#### What's Changed

-   Upgraded to v40 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1672](https://github.com/tj-actions/changed-files/pull/1672)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1673](https://github.com/tj-actions/changed-files/pull/1673)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1675](https://github.com/tj-actions/changed-files/pull/1675)
-   chore(deps): update dependency eslint-plugin-jest to v27.5.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1674](https://github.com/tj-actions/changed-files/pull/1674)
-   chore(deps): update dependency eslint-plugin-jest to v27.6.0 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1676](https://github.com/tj-actions/changed-files/pull/1676)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1677](https://github.com/tj-actions/changed-files/pull/1677)
-   Updated README.md by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1678](https://github.com/tj-actions/changed-files/pull/1678)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1680](https://github.com/tj-actions/changed-files/pull/1680)
-   chore(deps): update dependency [@&#8203;typescript-eslint/parser](https://github.com/typescript-eslint/parser) to v6.9.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1682](https://github.com/tj-actions/changed-files/pull/1682)
-   chore(deps): update dependency [@&#8203;typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/eslint-plugin) to v6.9.1 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1683](https://github.com/tj-actions/changed-files/pull/1683)
-   fix: bug with order in which the files and files ignore patterns are combined by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1684](https://github.com/tj-actions/changed-files/pull/1684)
-   chore(deps): update dependency [@&#8203;types/jest](https://github.com/types/jest) to v29.5.7 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1685](https://github.com/tj-actions/changed-files/pull/1685)

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

***

### Changes in v40.0.0

#### 🔥 🔥  Breaking Change 🔥 🔥

-   Directory patterns now require explicit specification of the globstar pattern to match all sub paths.

#####

```diff
...
      - name: Get specific changed files
        id: changed-files-specific
        uses: tj-actions/changed-files@v40
        with:
          files: |
-            dir
+            dir/**
```

#### What's Changed

-   Upgraded to v39.2.4 by [@&#8203;tj-actions-bot](https://github.com/tj-actions-bot) in [https://github.com/tj-actions/changed-files/pull/1664](https://github.com/tj-actions/changed-files/pull/1664)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1665](https://github.com/tj-actions/changed-files/pull/1665)
-   Bump [@&#8203;types/node](https://github.com/types/node) from 20.8.7 to 20.8.8 by [@&#8203;dependabot](https://github.com/dependabot) in [https://github.com/tj-actions/changed-files/pull/1666](https://github.com/tj-actions/changed-files/pull/1666)
-   chore(deps): update dependency [@&#8203;types/node](https://github.com/types/node) to v20.8.9 by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1668](https://github.com/tj-actions/changed-files/pull/1668)
-   remove: appending globstar pattern for directories to prevent bugs with path matching by [@&#8203;jackton1](https://github.com/jackton1) in [https://github.com/tj-actions/changed-files/pull/1670](https://github.com/tj-actions/changed-files/pull/1670)
-   chore(deps): lock file maintenance by [@&#8203;renovate](https://github.com/renovate) in [https://github.com/tj-actions/changed-files/pull/1671](https://github.com/tj-actions/changed-files/pull/1671)

**Full Changelog**: tj-actions/changed-files@v39...v40.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://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMTYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjExNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies merge when passing Merge the PR automatically once all status checks have passed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant