Skip to content

Commit

Permalink
Upgraded to v44 (#2017)
Browse files Browse the repository at this point in the history
Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
  • Loading branch information
tj-actions-bot and jackton1 committed Mar 27, 2024
1 parent 2d756ea commit e4b8daf
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 32 deletions.
40 changes: 40 additions & 0 deletions HISTORY.md
@@ -1,5 +1,45 @@
# Changelog

# [44.0.0](https://github.com/tj-actions/changed-files/compare/v43.0.1...v44.0.0) - (2024-03-27)

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

- Ensure the fork remote doesn't exists before creating it ([#2012](https://github.com/tj-actions/changed-files/issues/2012)) ([4bbd49b](https://github.com/tj-actions/changed-files/commit/4bbd49b9986b1300b75e8efb5778350b750ae6c8)) - (Tonye Jack)
- Update previos sha for forks ([#2011](https://github.com/tj-actions/changed-files/issues/2011)) ([f0e7702](https://github.com/tj-actions/changed-files/commit/f0e7702ccc35952acb83edeb7400b05c0a67e2be)) - (Tonye Jack)
- Update to add the fork remote ([#2010](https://github.com/tj-actions/changed-files/issues/2010)) ([6354e6c](https://github.com/tj-actions/changed-files/commit/6354e6c5426d1e7c7a2d8a5887e26b535837958e)) - (Tonye Jack)
- Check for setting remote urls for forks ([#2009](https://github.com/tj-actions/changed-files/issues/2009)) ([1176164](https://github.com/tj-actions/changed-files/commit/117616472fb771d9e030aa0c3741057ad520d9cf)) - (Tonye Jack)
- Bug with prs from forks returning incorrect set of changed files ([#2007](https://github.com/tj-actions/changed-files/issues/2007)) ([4ff7936](https://github.com/tj-actions/changed-files/commit/4ff79362e5015d6d0c6c0050b3082c97a5b7e84a)) - (Tonye Jack)

## <!-- 17 -->➖ Remove

- Unused code ([#2014](https://github.com/tj-actions/changed-files/issues/2014)) ([90941b3](https://github.com/tj-actions/changed-files/commit/90941b398f6d8d3ade3e2b8f179d0c64f3679de6)) - (Tonye Jack)

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

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

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([2d756ea](https://github.com/tj-actions/changed-files/commit/2d756ea4c53f7f6b397767d8723b3a10a9f35bf2)) - (tj-actions[bot])
- Update README.md ([2d21bbb](https://github.com/tj-actions/changed-files/commit/2d21bbb405b3e0e15479b93c4d9989b4b780a266)) - (Tonye Jack)
- Updated README.md ([#2013](https://github.com/tj-actions/changed-files/issues/2013))

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com> ([2ca8dc4](https://github.com/tj-actions/changed-files/commit/2ca8dc42f60aab6d0f54beb4e1bd63f15aa53632)) - (tj-actions[bot])
- Update README.md ([4621617](https://github.com/tj-actions/changed-files/commit/4621617d4b568fe72798b05a512482442405549c)) - (tonyejack1)
- Update README.md ([c6557ed](https://github.com/tj-actions/changed-files/commit/c6557ed000b9d1dbc0abcb5c2a7efc1ef3baa379)) - (Tonye Jack)
- Update README.md ([0713a11](https://github.com/tj-actions/changed-files/commit/0713a11242c796d0e601c9ac8f009c2beed0d646)) - (Tonye Jack)

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

- Update description of outputs removing asterisks ([#2015](https://github.com/tj-actions/changed-files/issues/2015)) ([ce497c3](https://github.com/tj-actions/changed-files/commit/ce497c39e9043c5dec72f4506445f6b5dbd1f027)) - (tonyejack1)
- Update description of other_deleted_files output ([#2008](https://github.com/tj-actions/changed-files/issues/2008)) ([ee096d6](https://github.com/tj-actions/changed-files/commit/ee096d679e877096b9d6e42066f654e0d9d65b1a)) - (tonyejack1)
- **deps:** Update typescript-eslint monorepo to v7.4.0 ([0647424](https://github.com/tj-actions/changed-files/commit/064742427d8106b59345e3fabb40031068c82c41)) - (renovate[bot])
- **deps:** Lock file maintenance ([efe5e6c](https://github.com/tj-actions/changed-files/commit/efe5e6c7a415f33e8936dea8c45a8fe80be66a92)) - (renovate[bot])

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

- Upgraded to v43.0.1 ([#2004](https://github.com/tj-actions/changed-files/issues/2004))

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

# [43.0.1](https://github.com/tj-actions/changed-files/compare/v43.0.0...v43.0.1) - (2024-03-20)

## <!-- 1 -->🐛 Bug Fixes
Expand Down
62 changes: 31 additions & 31 deletions README.md
Expand Up @@ -122,7 +122,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
# with:
# since_last_remote_commit: true
Expand All @@ -140,7 +140,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get all changed markdown files
id: changed-markdown-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
# Avoid using single or double quotes for multiline patterns
files: |
Expand All @@ -160,7 +160,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get all test, doc and src files that have changed
id: changed-files-yaml
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files_yaml: |
doc:
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
# -----------------------------------------------------------------------------------------------------------
- name: Get changed files in the docs folder
id: changed-files-specific
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files: docs/*.{js,html} # Alternatively using: `docs/**`
files_ignore: docs/static.js
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
steps:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44

- name: List all changed files
env:
Expand Down Expand Up @@ -280,7 +280,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.

- name: List all changed files
Expand Down Expand Up @@ -327,7 +327,7 @@ Support this project with a :star:
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

```yaml
- uses: tj-actions/changed-files@v43
- uses: tj-actions/changed-files@v44
id: changed-files
with:
# Github API URL.
Expand Down Expand Up @@ -722,7 +722,7 @@ The format of the version string is as follows:
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
...
```

Expand All @@ -735,7 +735,7 @@ The format of the version string is as follows:
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.

Expand All @@ -758,7 +758,7 @@ The format of the version string is as follows:
...
- name: Get all changed files and use a comma separator in the output
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
separator: ","
...
Expand All @@ -775,7 +775,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44

- name: List all added files
env:
Expand All @@ -798,7 +798,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44

- name: Run a step if my-file.txt was modified
if: contains(steps.changed-files.outputs.modified_files, 'my-file.txt')
Expand All @@ -819,7 +819,7 @@ See [outputs](#outputs) for a list of all available outputs.

- name: Get changed files and write the outputs to a Txt file
id: changed-files-write-output-files-txt
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
write_output_files: true

Expand All @@ -838,7 +838,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files and write the outputs to a JSON file
id: changed-files-write-output-files-json
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
json: true
write_output_files: true
Expand All @@ -858,7 +858,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files: |
my-file.txt
Expand All @@ -881,7 +881,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files
id: changed-files-specific
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files: |
my-file.txt
Expand Down Expand Up @@ -932,7 +932,7 @@ See [outputs](#outputs) for a list of all available outputs.
...
- name: Get changed files using a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files_from_source_file: test/changed-files-list.txt
...
Expand All @@ -949,7 +949,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files_from_source_file: |
test/changed-files-list.txt
Expand All @@ -970,7 +970,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different SHA
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
sha: ${{ github.event.pull_request.head.sha }}
...
Expand All @@ -987,7 +987,7 @@ See [inputs](#inputs) for more information.
...
- name: Get changed files using a different base SHA
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
base_sha: ${{ github.event.pull_request.base.sha }}
...
Expand Down Expand Up @@ -1019,7 +1019,7 @@ jobs:

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44

- name: List changed files
env:
Expand All @@ -1029,7 +1029,7 @@ jobs:
- name: Get changed files in the .github folder
id: changed-files-specific
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files: .github/**

Expand Down Expand Up @@ -1060,7 +1060,7 @@ See [inputs](#inputs) for more information.

- name: Run changed-files with defaults in dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
path: dir1

Expand All @@ -1085,13 +1085,13 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
quotepath: "false"

- name: Run changed-files with quotepath disabled for a specified list of file(s)
id: changed-files-quotepath-specific
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
files: test/test-è.txt
quotepath: "false"
Expand Down Expand Up @@ -1124,7 +1124,7 @@ See [inputs](#inputs) for more information.

- name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
...
Expand All @@ -1151,7 +1151,7 @@ See [inputs](#inputs) for more information.

- name: Run changed-files with the commit of the last successful test workflow run on the main branch
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
...
Expand All @@ -1177,7 +1177,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with dir_names
id: changed-files-dir-names
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
dir_names: "true"
...
Expand All @@ -1194,7 +1194,7 @@ See [inputs](#inputs) for more information.
...
- name: Run changed-files with JSON output
id: changed-files-json
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
json: "true"
...
Expand All @@ -1211,13 +1211,13 @@ See [inputs](#inputs) for more information.
...
- name: Get changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
since: "2022-08-19"

- name: Get changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v43
uses: tj-actions/changed-files@v44
with:
until: "2022-08-20"
...
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@tj-actions/changed-files",
"version": "43.0.1",
"version": "44.0.0",
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
"main": "lib/main.js",
"publishConfig": {
Expand Down

0 comments on commit e4b8daf

Please sign in to comment.