Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tj-actions/changed-files
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v44.4.0
Choose a base ref
...
head repository: tj-actions/changed-files
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v44.5.0
Choose a head ref
  • 9 commits
  • 13 files changed
  • 5 contributors

Commits on May 12, 2024

  1. Upgraded to v44.4.0 (#2086)

    Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
    tj-actions-bot and jackton1 authored May 12, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    887f936 View commit details

Commits on May 13, 2024

  1. chore(deps): lock file maintenance

    renovate[bot] committed May 13, 2024
    Copy the full SHA
    35d5a4d View commit details
  2. chore(deps): update typescript-eslint monorepo to v7.9.0

    renovate[bot] committed May 13, 2024
    Copy the full SHA
    e86678f View commit details

Commits on May 14, 2024

  1. chore(deps): update dependency @types/node to v20.12.12

    renovate[bot] committed May 14, 2024
    Copy the full SHA
    0e3a6c3 View commit details

Commits on May 16, 2024

  1. chore(deps): update dependency @types/lodash to v4.17.3

    renovate[bot] committed May 16, 2024
    Copy the full SHA
    9216b0c View commit details

Commits on May 17, 2024

  1. chore(deps): update dependency @types/lodash to v4.17.4

    renovate[bot] committed May 17, 2024
    Copy the full SHA
    58a9886 View commit details

Commits on May 20, 2024

  1. chore(deps): update typescript-eslint monorepo to v7.10.0

    renovate[bot] committed May 20, 2024
    Copy the full SHA
    5f01393 View commit details

Commits on May 21, 2024

  1. feat: add support for providing patterns to match tags (#2098)

    Co-authored-by: GitHub Action <action@github.com>
    jackton1 and actions-user authored May 21, 2024
    Copy the full SHA
    03c1842 View commit details
  2. Updated README.md (#2099)

    Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
    tj-actions-bot and jackton1 authored May 21, 2024
    Copy the full SHA
    1754cd4 View commit details
Showing with 430 additions and 64 deletions.
  1. +61 −0 HISTORY.md
  2. +9 −0 README.md
  3. +9 −0 action.yml
  4. +26 −4 dist/index.js
  5. +1 −1 dist/index.js.map
  6. +1 −1 package.json
  7. +12 −0 src/__tests__/__snapshots__/inputs.test.ts.snap
  8. +194 −1 src/__tests__/utils.test.ts
  9. +5 −1 src/commitSha.ts
  10. +3 −1 src/constant.ts
  11. +13 −0 src/inputs.ts
  12. +14 −2 src/utils.ts
  13. +82 −53 yarn.lock
61 changes: 61 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# Changelog

# [44.4.0](https://github.com/tj-actions/changed-files/compare/v44.3.0...v44.4.0) - (2024-05-08)

## <!-- 0 -->🚀 Features

- Reduce the default fetch_depth from 50 to 25 and increase fetch_missing_history_max_retries ([#2060](https://github.com/tj-actions/changed-files/issues/2060)) ([44ce9f4](https://github.com/tj-actions/changed-files/commit/44ce9f434167298fce8f9edf203176c014d51ed8)) - (Tonye Jack)

## <!-- 1 -->🐛 Bug Fixes

- **deps:** Update dependency @octokit/rest to v20.1.1 ([396e5a5](https://github.com/tj-actions/changed-files/commit/396e5a51d5444a68abd0ca86795e40144b22875a)) - (renovate[bot])
- **deps:** Update dependency yaml to v2.4.2 ([1c5b7dc](https://github.com/tj-actions/changed-files/commit/1c5b7dc5f490a91e3ffe2a80a32b6ec53fee8627)) - (renovate[bot])

## <!-- 16 -->➕ Add

- Added missing changes and modified dist assets.
([c393672](https://github.com/tj-actions/changed-files/commit/c393672835f5e9934c60b73f14af88cbb3eb9d6d)) - (GitHub Action)
- Added missing changes and modified dist assets.
([15fa7fb](https://github.com/tj-actions/changed-files/commit/15fa7fb9550e318cd8c7889812750e3baf85741a)) - (GitHub Action)

## <!-- 26 -->🔄 Update

- Updated README.md ([#2068](https://github.com/tj-actions/changed-files/issues/2068))

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> ([0c82494](https://github.com/tj-actions/changed-files/commit/0c82494d634648c00ea121dc17d3c790888d84b7)) - (tj-actions[bot])
- Updated README.md ([#2061](https://github.com/tj-actions/changed-files/issues/2061))

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([cee950d](https://github.com/tj-actions/changed-files/commit/cee950d7423ea9b9e2f1398edb7c203aa8e3b6a8)) - (tj-actions[bot])
- Updated README.md ([#2059](https://github.com/tj-actions/changed-files/issues/2059))

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([7b65c37](https://github.com/tj-actions/changed-files/commit/7b65c377b1a5352050b3f1765e89e8c1498b7151)) - (tj-actions[bot])
- Update action.yml ([532b66a](https://github.com/tj-actions/changed-files/commit/532b66aa5cdd78ac95381a5837593c4e2c1cc689)) - (Tonye Jack)
- Updated README.md ([#2057](https://github.com/tj-actions/changed-files/issues/2057))

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([461ea4f](https://github.com/tj-actions/changed-files/commit/461ea4f9bf72cc903116a1f7832c259517033c4f)) - (tj-actions[bot])

## <!-- 7 -->⚙️ Miscellaneous Tasks

- **deps:** Update dependency @types/node to v20.12.11 ([a29e8b5](https://github.com/tj-actions/changed-files/commit/a29e8b565651ce417abb5db7164b4a2ad8b6155c)) - (renovate[bot])
- **deps:** Update codacy/codacy-analysis-cli-action action to v4.4.1 ([5a12705](https://github.com/tj-actions/changed-files/commit/5a127050b23a670857f37c398ad95d4258ad2cd9)) - (renovate[bot])
- **deps:** Update dependency @types/node to v20.12.10 ([5819343](https://github.com/tj-actions/changed-files/commit/581934340b529e43033415c4777d68fef0a77728)) - (renovate[bot])
- **deps:** Update dependency @types/node to v20.12.9 ([5587afb](https://github.com/tj-actions/changed-files/commit/5587afbef7d18ac15b8dcb6728b4cef8dd65a3ca)) - (renovate[bot])
- **deps:** Lock file maintenance ([0f039f3](https://github.com/tj-actions/changed-files/commit/0f039f361bfe87006120af15e65aca81bbf83a85)) - (renovate[bot])
- **deps:** Update tj-actions/verify-changed-files action to v20 ([#2079](https://github.com/tj-actions/changed-files/issues/2079)) ([6d4230d](https://github.com/tj-actions/changed-files/commit/6d4230d4f04050b0b2748f51b7e45411c80556fb)) - (renovate[bot])
- **deps:** Update dependency @types/lodash to v4.17.1 ([1711887](https://github.com/tj-actions/changed-files/commit/1711887607a8b90e5a2c940b679d755bfb77d002)) - (renovate[bot])
- **deps:** Update dependency eslint-plugin-jest to v28.5.0 ([47a2d62](https://github.com/tj-actions/changed-files/commit/47a2d62412bf64a49abd7b7679f33b424ceca288)) - (renovate[bot])
- **deps:** Update dependency eslint-plugin-jest to v28.4.0 ([c73b12c](https://github.com/tj-actions/changed-files/commit/c73b12cc6d5217a79bf78cf8a07ffc67de3ee4ad)) - (renovate[bot])
- **deps-dev:** Bump @types/node from 20.12.7 to 20.12.8 ([#2074](https://github.com/tj-actions/changed-files/issues/2074)) ([41ce994](https://github.com/tj-actions/changed-files/commit/41ce994be96a740b53ae11ecbf86d1619a7bd640)) - (dependabot[bot])
- **deps:** Lock file maintenance ([192e174](https://github.com/tj-actions/changed-files/commit/192e174507517360f2917c06114bc29c1b6f87cc)) - (renovate[bot])
- **deps:** Update typescript-eslint monorepo to v7.8.0 ([5e85e31](https://github.com/tj-actions/changed-files/commit/5e85e31a0187e8df23b438284aa04f21b55f1510)) - (renovate[bot])
- **deps:** Lock file maintenance ([7871e84](https://github.com/tj-actions/changed-files/commit/7871e848ad730c5f0f07beb4b552d981666d0113)) - (renovate[bot])
- **deps:** Update tj-actions/eslint-changed-files action to v25 ([#2069](https://github.com/tj-actions/changed-files/issues/2069)) ([4765b9f](https://github.com/tj-actions/changed-files/commit/4765b9f7755d935bfd5b817fd54c1644a3e353e6)) - (renovate[bot])
- **deps:** Update dependency eslint-plugin-jest to v28.3.0 ([7d02310](https://github.com/tj-actions/changed-files/commit/7d02310f6e619682280fc882083625c6fdea15a8)) - (renovate[bot])
- **deps:** Update peter-evans/create-pull-request action to v6.0.5 ([0df48f8](https://github.com/tj-actions/changed-files/commit/0df48f84094b1c181560c74c366be7aa482f69f9)) - (renovate[bot])
- **deps:** Update typescript-eslint monorepo to v7.7.1 ([b76e23c](https://github.com/tj-actions/changed-files/commit/b76e23c88a5fd49bbf61e0ed56e3bf863400619c)) - (renovate[bot])
- **deps:** Lock file maintenance ([549c203](https://github.com/tj-actions/changed-files/commit/549c203ec243ad37c57a0aacc725543b643c2c9b)) - (renovate[bot])

## <!-- 9 -->⬆️ Upgrades

- Upgraded to v44.3.0 ([#2058](https://github.com/tj-actions/changed-files/issues/2058))

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([d9384bb](https://github.com/tj-actions/changed-files/commit/d9384bba72acecf39972b06ec7f323d370f357fb)) - (tj-actions[bot])

# [44.3.0](https://github.com/tj-actions/changed-files/compare/v44.2.0...v44.3.0) - (2024-04-18)

## <!-- 0 -->🚀 Features
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -674,6 +674,15 @@ Support this project with a :star:
# Default: "false"
skip_initial_fetch: ''

# Tags pattern to ignore.
# Type: string
tags_ignore_pattern: ''

# Tags pattern to include.
# Type: string
# Default: "*"
tags_pattern: ''

# GitHub token used to fetch
# changed files from Github's API.
# Type: string
9 changes: 9 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -235,6 +235,15 @@ inputs:
description: "Use POSIX path separator `/` for output file paths on Windows."
required: false
default: "false"
tags_pattern:
description: "Tags pattern to include."
required: false
default: "*"
tags_ignore_pattern:
description: "Tags pattern to ignore."
required: false
default: ""


outputs:
added_files:
30 changes: 26 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tj-actions/changed-files",
"version": "44.3.0",
"version": "44.4.0",
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
"main": "lib/main.js",
"publishConfig": {
12 changes: 12 additions & 0 deletions src/__tests__/__snapshots__/inputs.test.ts.snap
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@ exports[`getInputs should correctly parse boolean inputs 1`] = `
"since": "",
"sinceLastRemoteCommit": "false",
"skipInitialFetch": "true",
"tagsIgnorePattern": "",
"tagsPattern": "*",
"token": "",
"until": "",
"usePosixPathSeparator": "false",
@@ -113,6 +115,8 @@ exports[`getInputs should correctly parse numeric inputs 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
"until": "",
"usePosixPathSeparator": false,
@@ -171,6 +175,8 @@ exports[`getInputs should correctly parse string inputs 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "token",
"until": "",
"usePosixPathSeparator": false,
@@ -231,6 +237,8 @@ exports[`getInputs should handle invalid numeric inputs correctly 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
"until": "",
"usePosixPathSeparator": false,
@@ -291,6 +299,8 @@ exports[`getInputs should handle negative numeric inputs correctly 1`] = `
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"tagsIgnorePattern": "",
"tagsPattern": "",
"token": "",
"until": "",
"usePosixPathSeparator": false,
@@ -352,6 +362,8 @@ exports[`getInputs should return default values when no inputs are provided 1`]
"since": "",
"sinceLastRemoteCommit": false,
"skipInitialFetch": false,
"tagsIgnorePattern": "",
"tagsPattern": "*",
"token": "",
"until": "",
"usePosixPathSeparator": false,
Loading