Skip to content

Commit d03038e

Browse files
Upgraded to v43 (#1990)
Co-authored-by: jackton1 <[email protected]>
1 parent 77af4be commit d03038e

File tree

3 files changed

+60
-32
lines changed

3 files changed

+60
-32
lines changed

HISTORY.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
# [43.0.0](https://github.com/tj-actions/changed-files/compare/v42.1.0...v43.0.0) - (2024-03-13)
4+
5+
## <!-- 0 -->🚀 Features
6+
7+
- Add support for returning true for `any_{changed, modified, deleted}` outputs when no patterns are specified ([#1988](https://github.com/tj-actions/changed-files/issues/1988)) ([a5cf6aa](https://github.com/tj-actions/changed-files/commit/a5cf6aa30cfbe1e0764d2aa5e9f42edb847b6d55)) - (Tonye Jack)
8+
9+
## <!-- 26 -->🔄 Update
10+
11+
- Updated README.md ([#1989](https://github.com/tj-actions/changed-files/issues/1989))
12+
13+
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com> ([77af4be](https://github.com/tj-actions/changed-files/commit/77af4bed286740ef1a6387dc4e4e4dec39f96054)) - (tj-actions[bot])
14+
15+
## <!-- 7 -->⚙️ Miscellaneous Tasks
16+
17+
- **deps:** Update dependency @types/node to v20.11.27 ([15807c9](https://github.com/tj-actions/changed-files/commit/15807c9c84ec7ff092c52f2f9fecc600e81420f1)) - (renovate[bot])
18+
- **deps:** Update peter-evans/create-pull-request action to v6.0.2 ([dc458cf](https://github.com/tj-actions/changed-files/commit/dc458cf7531fd39dcf942beb39ef6bdcaddc9715)) - (renovate[bot])
19+
- **deps:** Update dependency @types/lodash to v4.17.0 ([92ca3ee](https://github.com/tj-actions/changed-files/commit/92ca3eebd01cb3fc4d88a4cbd10f344ea4a116d3)) - (renovate[bot])
20+
- **deps:** Update dependency @typescript-eslint/eslint-plugin to v7.2.0 ([f591d0c](https://github.com/tj-actions/changed-files/commit/f591d0c7f0b790ca8c139ce92ff4e8c238cb8940)) - (renovate[bot])
21+
- **deps:** Update dependency @types/node to v20.11.26 ([3502336](https://github.com/tj-actions/changed-files/commit/35023362e2b0ff1cd9b970167a1603614e1ad854)) - (renovate[bot])
22+
- **deps:** Update dependency @typescript-eslint/parser to v7.2.0 ([e436cb6](https://github.com/tj-actions/changed-files/commit/e436cb6d85bcd4aecab64c542f2268998a1cdd2f)) - (renovate[bot])
23+
- **deps:** Lock file maintenance ([257d47d](https://github.com/tj-actions/changed-files/commit/257d47dfba22be3e0a17f6bad47ff07f7e76747c)) - (renovate[bot])
24+
25+
## <!-- 9 -->⬆️ Upgrades
26+
27+
- Upgraded to v42.1.0 ([#1977](https://github.com/tj-actions/changed-files/issues/1977))
28+
29+
Co-authored-by: jackton1 <[email protected]> ([4918e11](https://github.com/tj-actions/changed-files/commit/4918e1183080b35a085c91c8abc9e6adc4de61a1)) - (tj-actions[bot])
30+
331
# [42.1.0](https://github.com/tj-actions/changed-files/compare/v42.0.7...v42.1.0) - (2024-03-09)
432

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

README.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
# -----------------------------------------------------------------------------------------------------------
125125
- name: Get changed files
126126
id: changed-files
127-
uses: tj-actions/changed-files@v42
127+
uses: tj-actions/changed-files@v43
128128
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
129129
# with:
130130
# since_last_remote_commit: true
@@ -142,7 +142,7 @@ jobs:
142142
# -----------------------------------------------------------------------------------------------------------
143143
- name: Get all changed markdown files
144144
id: changed-markdown-files
145-
uses: tj-actions/changed-files@v42
145+
uses: tj-actions/changed-files@v43
146146
with:
147147
# Avoid using single or double quotes for multiline patterns
148148
files: |
@@ -162,7 +162,7 @@ jobs:
162162
# -----------------------------------------------------------------------------------------------------------
163163
- name: Get all test, doc and src files that have changed
164164
id: changed-files-yaml
165-
uses: tj-actions/changed-files@v42
165+
uses: tj-actions/changed-files@v43
166166
with:
167167
files_yaml: |
168168
doc:
@@ -197,7 +197,7 @@ jobs:
197197
# -----------------------------------------------------------------------------------------------------------
198198
- name: Get changed files in the docs folder
199199
id: changed-files-specific
200-
uses: tj-actions/changed-files@v42
200+
uses: tj-actions/changed-files@v43
201201
with:
202202
files: docs/*.{js,html} # Alternatively using: `docs/**`
203203
files_ignore: docs/static.js
@@ -239,7 +239,7 @@ jobs:
239239
steps:
240240
- name: Get changed files
241241
id: changed-files
242-
uses: tj-actions/changed-files@v42
242+
uses: tj-actions/changed-files@v43
243243

244244
- name: List all changed files
245245
env:
@@ -282,7 +282,7 @@ jobs:
282282

283283
- name: Get changed files
284284
id: changed-files
285-
uses: tj-actions/changed-files@v42
285+
uses: tj-actions/changed-files@v43
286286
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
287287

288288
- name: List all changed files
@@ -329,7 +329,7 @@ Support this project with a :star:
329329
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
330330

331331
```yaml
332-
- uses: tj-actions/changed-files@v42
332+
- uses: tj-actions/changed-files@v43
333333
id: changed-files
334334
with:
335335
# Github API URL.
@@ -724,7 +724,7 @@ The format of the version string is as follows:
724724
...
725725
- name: Get changed files
726726
id: changed-files
727-
uses: tj-actions/changed-files@v42
727+
uses: tj-actions/changed-files@v43
728728
...
729729
```
730730

@@ -737,7 +737,7 @@ The format of the version string is as follows:
737737
...
738738
- name: Get changed files
739739
id: changed-files
740-
uses: tj-actions/changed-files@v42
740+
uses: tj-actions/changed-files@v43
741741
with:
742742
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
743743

@@ -760,7 +760,7 @@ The format of the version string is as follows:
760760
...
761761
- name: Get all changed files and use a comma separator in the output
762762
id: changed-files
763-
uses: tj-actions/changed-files@v42
763+
uses: tj-actions/changed-files@v43
764764
with:
765765
separator: ","
766766
...
@@ -777,7 +777,7 @@ See [inputs](#inputs) for more information.
777777
...
778778
- name: Get changed files
779779
id: changed-files
780-
uses: tj-actions/changed-files@v42
780+
uses: tj-actions/changed-files@v43
781781

782782
- name: List all added files
783783
env:
@@ -800,7 +800,7 @@ See [outputs](#outputs) for a list of all available outputs.
800800
...
801801
- name: Get changed files
802802
id: changed-files
803-
uses: tj-actions/changed-files@v42
803+
uses: tj-actions/changed-files@v43
804804

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

822822
- name: Get changed files and write the outputs to a Txt file
823823
id: changed-files-write-output-files-txt
824-
uses: tj-actions/changed-files@v42
824+
uses: tj-actions/changed-files@v43
825825
with:
826826
write_output_files: true
827827

@@ -840,7 +840,7 @@ See [outputs](#outputs) for a list of all available outputs.
840840
...
841841
- name: Get changed files and write the outputs to a JSON file
842842
id: changed-files-write-output-files-json
843-
uses: tj-actions/changed-files@v42
843+
uses: tj-actions/changed-files@v43
844844
with:
845845
json: true
846846
write_output_files: true
@@ -860,7 +860,7 @@ See [outputs](#outputs) for a list of all available outputs.
860860
...
861861
- name: Get changed files
862862
id: changed-files
863-
uses: tj-actions/changed-files@v42
863+
uses: tj-actions/changed-files@v43
864864
with:
865865
files: |
866866
my-file.txt
@@ -883,7 +883,7 @@ See [inputs](#inputs) for more information.
883883
...
884884
- name: Get changed files
885885
id: changed-files-specific
886-
uses: tj-actions/changed-files@v42
886+
uses: tj-actions/changed-files@v43
887887
with:
888888
files: |
889889
my-file.txt
@@ -934,7 +934,7 @@ See [outputs](#outputs) for a list of all available outputs.
934934
...
935935
- name: Get changed files using a source file or list of file(s) to populate to files input.
936936
id: changed-files-specific-source-file
937-
uses: tj-actions/changed-files@v42
937+
uses: tj-actions/changed-files@v43
938938
with:
939939
files_from_source_file: test/changed-files-list.txt
940940
...
@@ -951,7 +951,7 @@ See [inputs](#inputs) for more information.
951951
...
952952
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
953953
id: changed-files-specific-source-file-and-specify-files
954-
uses: tj-actions/changed-files@v42
954+
uses: tj-actions/changed-files@v43
955955
with:
956956
files_from_source_file: |
957957
test/changed-files-list.txt
@@ -972,7 +972,7 @@ See [inputs](#inputs) for more information.
972972
...
973973
- name: Get changed files using a different SHA
974974
id: changed-files
975-
uses: tj-actions/changed-files@v42
975+
uses: tj-actions/changed-files@v43
976976
with:
977977
sha: ${{ github.event.pull_request.head.sha }}
978978
...
@@ -989,7 +989,7 @@ See [inputs](#inputs) for more information.
989989
...
990990
- name: Get changed files using a different base SHA
991991
id: changed-files
992-
uses: tj-actions/changed-files@v42
992+
uses: tj-actions/changed-files@v43
993993
with:
994994
base_sha: ${{ github.event.pull_request.base.sha }}
995995
...
@@ -1021,7 +1021,7 @@ jobs:
10211021

10221022
- name: Get changed files
10231023
id: changed-files
1024-
uses: tj-actions/changed-files@v42
1024+
uses: tj-actions/changed-files@v43
10251025

10261026
- name: List changed files
10271027
env:
@@ -1031,7 +1031,7 @@ jobs:
10311031
10321032
- name: Get changed files in the .github folder
10331033
id: changed-files-specific
1034-
uses: tj-actions/changed-files@v42
1034+
uses: tj-actions/changed-files@v43
10351035
with:
10361036
files: .github/**
10371037

@@ -1062,7 +1062,7 @@ See [inputs](#inputs) for more information.
10621062

10631063
- name: Run changed-files with defaults in dir1
10641064
id: changed-files-for-dir1
1065-
uses: tj-actions/changed-files@v42
1065+
uses: tj-actions/changed-files@v43
10661066
with:
10671067
path: dir1
10681068

@@ -1088,13 +1088,13 @@ See [inputs](#inputs) for more information.
10881088
...
10891089
- name: Run changed-files with quotepath disabled
10901090
id: changed-files-quotepath
1091-
uses: tj-actions/changed-files@v42
1091+
uses: tj-actions/changed-files@v43
10921092
with:
10931093
quotepath: "false"
10941094

10951095
- name: Run changed-files with quotepath disabled for a specified list of file(s)
10961096
id: changed-files-quotepath-specific
1097-
uses: tj-actions/changed-files@v42
1097+
uses: tj-actions/changed-files@v43
10981098
with:
10991099
files: test/test-è.txt
11001100
quotepath: "false"
@@ -1127,7 +1127,7 @@ See [inputs](#inputs) for more information.
11271127

11281128
- name: Run changed-files with the commit of the last successful test workflow run
11291129
id: changed-files-base-sha-push
1130-
uses: tj-actions/changed-files@v42
1130+
uses: tj-actions/changed-files@v43
11311131
with:
11321132
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
11331133
...
@@ -1154,7 +1154,7 @@ See [inputs](#inputs) for more information.
11541154

11551155
- name: Run changed-files with the commit of the last successful test workflow run on the main branch
11561156
id: changed-files-base-sha-pull-request
1157-
uses: tj-actions/changed-files@v42
1157+
uses: tj-actions/changed-files@v43
11581158
with:
11591159
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
11601160
...
@@ -1180,7 +1180,7 @@ See [inputs](#inputs) for more information.
11801180
...
11811181
- name: Run changed-files with dir_names
11821182
id: changed-files-dir-names
1183-
uses: tj-actions/changed-files@v42
1183+
uses: tj-actions/changed-files@v43
11841184
with:
11851185
dir_names: "true"
11861186
...
@@ -1197,7 +1197,7 @@ See [inputs](#inputs) for more information.
11971197
...
11981198
- name: Run changed-files with JSON output
11991199
id: changed-files-json
1200-
uses: tj-actions/changed-files@v42
1200+
uses: tj-actions/changed-files@v43
12011201
with:
12021202
json: "true"
12031203
...
@@ -1214,13 +1214,13 @@ See [inputs](#inputs) for more information.
12141214
...
12151215
- name: Get changed-files since 2022-08-19
12161216
id: changed-files-since
1217-
uses: tj-actions/changed-files@v42
1217+
uses: tj-actions/changed-files@v43
12181218
with:
12191219
since: "2022-08-19"
12201220

12211221
- name: Get changed-files until 2022-08-20
12221222
id: changed-files-until
1223-
uses: tj-actions/changed-files@v42
1223+
uses: tj-actions/changed-files@v43
12241224
with:
12251225
until: "2022-08-20"
12261226
...

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tj-actions/changed-files",
3-
"version": "42.1.0",
3+
"version": "43.0.0",
44
"description": "Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.",
55
"main": "lib/main.js",
66
"publishConfig": {

0 commit comments

Comments
 (0)