Skip to content

Commit c037f1e

Browse files
Upgraded to v42 (#1874)
Co-authored-by: jackton1 <[email protected]>
1 parent ae82ed4 commit c037f1e

File tree

3 files changed

+56
-32
lines changed

3 files changed

+56
-32
lines changed

HISTORY.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
# [42.0.0](https://github.com/tj-actions/changed-files/compare/v41.1.2...v42.0.0) - (2024-01-18)
4+
5+
## <!-- 0 -->🚀 Features
6+
7+
- Add support for include/exclude all nested files when a directory is specified and ends with a slash ([#1873](https://github.com/tj-actions/changed-files/issues/1873)) ([ae82ed4](https://github.com/tj-actions/changed-files/commit/ae82ed4ae04587b665efad2f206578aa6f0e8539)) - (Tonye Jack)
8+
9+
## <!-- 1 -->🐛 Bug Fixes
10+
11+
- Update input warning ([#1870](https://github.com/tj-actions/changed-files/issues/1870)) ([6c9dcea](https://github.com/tj-actions/changed-files/commit/6c9dcea4432fd0eb2f3e07c9149eab2807ce44b2)) - (Tonye Jack)
12+
13+
## <!-- 18 -->📝 Rename
14+
15+
- Unsupported REST API inputs constant name ([#1872](https://github.com/tj-actions/changed-files/issues/1872)) ([cbd5907](https://github.com/tj-actions/changed-files/commit/cbd59070e8276b539ecdfa0f2316db7b1599ea0f)) - (Tonye Jack)
16+
17+
## <!-- 7 -->⚙️ Miscellaneous Tasks
18+
19+
- **deps:** Update dependency prettier to v3.2.4 ([79b060d](https://github.com/tj-actions/changed-files/commit/79b060d4450764e6b54a73696c2d99134757db95)) - (renovate[bot])
20+
21+
## <!-- 9 -->⬆️ Upgrades
22+
23+
- Upgraded to v41.1.2 ([#1869](https://github.com/tj-actions/changed-files/issues/1869))
24+
25+
Co-authored-by: jackton1 <[email protected]> ([434b67e](https://github.com/tj-actions/changed-files/commit/434b67ebc3051662cf28de12b8a7adb77aea522a)) - (tj-actions[bot])
26+
327
# [41.1.2](https://github.com/tj-actions/changed-files/compare/v41.1.1...v41.1.2) - (2024-01-17)
428

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

README.md

+31-31
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
# Example 1
123123
- name: Get changed files
124124
id: changed-files
125-
uses: tj-actions/changed-files@v41
125+
uses: tj-actions/changed-files@v42
126126
# To compare changes between the current commit and the last pushed remote commit set `since_last_remote_commit: true`. e.g
127127
# with:
128128
# since_last_remote_commit: true
@@ -138,7 +138,7 @@ jobs:
138138
# Example 2
139139
- name: Get all changed markdown files
140140
id: changed-markdown-files
141-
uses: tj-actions/changed-files@v41
141+
uses: tj-actions/changed-files@v42
142142
with:
143143
# Avoid using single or double quotes for multiline patterns
144144
files: |
@@ -156,7 +156,7 @@ jobs:
156156
# Example 3
157157
- name: Get all test, doc and src files that have changed
158158
id: changed-files-yaml
159-
uses: tj-actions/changed-files@v41
159+
uses: tj-actions/changed-files@v42
160160
with:
161161
files_yaml: |
162162
doc:
@@ -189,7 +189,7 @@ jobs:
189189
# Example 3
190190
- name: Get changed files in the docs folder
191191
id: changed-files-specific
192-
uses: tj-actions/changed-files@v41
192+
uses: tj-actions/changed-files@v42
193193
with:
194194
files: docs/*.{js,html} # Alternatively using: `docs/**`
195195
files_ignore: docs/static.js
@@ -231,7 +231,7 @@ jobs:
231231
steps:
232232
- name: Get changed files
233233
id: changed-files
234-
uses: tj-actions/changed-files@v41
234+
uses: tj-actions/changed-files@v42
235235

236236
- name: List all changed files
237237
env:
@@ -274,7 +274,7 @@ jobs:
274274

275275
- name: Get changed files
276276
id: changed-files
277-
uses: tj-actions/changed-files@v41
277+
uses: tj-actions/changed-files@v42
278278
# NOTE: `since_last_remote_commit: true` is implied by default and falls back to the previous local commit.
279279

280280
- name: List all changed files
@@ -319,7 +319,7 @@ Support this project with a :star:
319319
<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->
320320

321321
```yaml
322-
- uses: tj-actions/changed-files@v41
322+
- uses: tj-actions/changed-files@v42
323323
id: changed-files
324324
with:
325325
# Github API URL.
@@ -707,7 +707,7 @@ The format of the version string is as follows:
707707
...
708708
- name: Get changed files
709709
id: changed-files
710-
uses: tj-actions/changed-files@v41
710+
uses: tj-actions/changed-files@v42
711711
...
712712
```
713713

@@ -720,7 +720,7 @@ The format of the version string is as follows:
720720
...
721721
- name: Get changed files
722722
id: changed-files
723-
uses: tj-actions/changed-files@v41
723+
uses: tj-actions/changed-files@v42
724724
with:
725725
safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
726726

@@ -743,7 +743,7 @@ The format of the version string is as follows:
743743
...
744744
- name: Get all changed files and use a comma separator in the output
745745
id: changed-files
746-
uses: tj-actions/changed-files@v41
746+
uses: tj-actions/changed-files@v42
747747
with:
748748
separator: ","
749749
...
@@ -760,7 +760,7 @@ See [inputs](#inputs) for more information.
760760
...
761761
- name: Get changed files
762762
id: changed-files
763-
uses: tj-actions/changed-files@v41
763+
uses: tj-actions/changed-files@v42
764764

765765
- name: List all added files
766766
env:
@@ -783,7 +783,7 @@ See [outputs](#outputs) for a list of all available outputs.
783783
...
784784
- name: Get changed files
785785
id: changed-files
786-
uses: tj-actions/changed-files@v41
786+
uses: tj-actions/changed-files@v42
787787

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

805805
- name: Get changed files and write the outputs to a Txt file
806806
id: changed-files-write-output-files-txt
807-
uses: tj-actions/changed-files@v41
807+
uses: tj-actions/changed-files@v42
808808
with:
809809
write_output_files: true
810810

@@ -823,7 +823,7 @@ See [outputs](#outputs) for a list of all available outputs.
823823
...
824824
- name: Get changed files and write the outputs to a JSON file
825825
id: changed-files-write-output-files-json
826-
uses: tj-actions/changed-files@v41
826+
uses: tj-actions/changed-files@v42
827827
with:
828828
json: true
829829
write_output_files: true
@@ -843,7 +843,7 @@ See [outputs](#outputs) for a list of all available outputs.
843843
...
844844
- name: Get changed files
845845
id: changed-files
846-
uses: tj-actions/changed-files@v41
846+
uses: tj-actions/changed-files@v42
847847
with:
848848
files: |
849849
my-file.txt
@@ -866,7 +866,7 @@ See [inputs](#inputs) for more information.
866866
...
867867
- name: Get changed files
868868
id: changed-files-specific
869-
uses: tj-actions/changed-files@v41
869+
uses: tj-actions/changed-files@v42
870870
with:
871871
files: |
872872
my-file.txt
@@ -917,7 +917,7 @@ See [outputs](#outputs) for a list of all available outputs.
917917
...
918918
- name: Get changed files using a source file or list of file(s) to populate to files input.
919919
id: changed-files-specific-source-file
920-
uses: tj-actions/changed-files@v41
920+
uses: tj-actions/changed-files@v42
921921
with:
922922
files_from_source_file: test/changed-files-list.txt
923923
...
@@ -934,7 +934,7 @@ See [inputs](#inputs) for more information.
934934
...
935935
- name: Get changed files using a source file or list of file(s) to populate to files input and optionally specify more files.
936936
id: changed-files-specific-source-file-and-specify-files
937-
uses: tj-actions/changed-files@v41
937+
uses: tj-actions/changed-files@v42
938938
with:
939939
files_from_source_file: |
940940
test/changed-files-list.txt
@@ -955,7 +955,7 @@ See [inputs](#inputs) for more information.
955955
...
956956
- name: Get changed files using a different SHA
957957
id: changed-files
958-
uses: tj-actions/changed-files@v41
958+
uses: tj-actions/changed-files@v42
959959
with:
960960
sha: ${{ github.event.pull_request.head.sha }}
961961
...
@@ -972,7 +972,7 @@ See [inputs](#inputs) for more information.
972972
...
973973
- name: Get changed files using a different base SHA
974974
id: changed-files
975-
uses: tj-actions/changed-files@v41
975+
uses: tj-actions/changed-files@v42
976976
with:
977977
base_sha: ${{ github.event.pull_request.base.sha }}
978978
...
@@ -1004,11 +1004,11 @@ jobs:
10041004

10051005
- name: Get changed files
10061006
id: changed-files
1007-
uses: tj-actions/changed-files@v41
1007+
uses: tj-actions/changed-files@v42
10081008

10091009
- name: Get changed files in the .github folder
10101010
id: changed-files-specific
1011-
uses: tj-actions/changed-files@v41
1011+
uses: tj-actions/changed-files@v42
10121012
with:
10131013
base_sha: ${{ steps.get-base-sha.outputs.base_sha }}
10141014
files: .github/**
@@ -1040,7 +1040,7 @@ See [inputs](#inputs) for more information.
10401040

10411041
- name: Run changed-files with defaults in dir1
10421042
id: changed-files-for-dir1
1043-
uses: tj-actions/changed-files@v41
1043+
uses: tj-actions/changed-files@v42
10441044
with:
10451045
path: dir1
10461046

@@ -1066,13 +1066,13 @@ See [inputs](#inputs) for more information.
10661066
...
10671067
- name: Run changed-files with quotepath disabled
10681068
id: changed-files-quotepath
1069-
uses: tj-actions/changed-files@v41
1069+
uses: tj-actions/changed-files@v42
10701070
with:
10711071
quotepath: "false"
10721072

10731073
- name: Run changed-files with quotepath disabled for a specified list of file(s)
10741074
id: changed-files-quotepath-specific
1075-
uses: tj-actions/changed-files@v41
1075+
uses: tj-actions/changed-files@v42
10761076
with:
10771077
files: test/test-è.txt
10781078
quotepath: "false"
@@ -1105,7 +1105,7 @@ See [inputs](#inputs) for more information.
11051105

11061106
- name: Run changed-files with the commit of the last successful test workflow run
11071107
id: changed-files-base-sha-push
1108-
uses: tj-actions/changed-files@v41
1108+
uses: tj-actions/changed-files@v42
11091109
with:
11101110
base_sha: ${{ steps.last_successful_commit_push.outputs.base }}
11111111
...
@@ -1132,7 +1132,7 @@ See [inputs](#inputs) for more information.
11321132

11331133
- name: Run changed-files with the commit of the last successful test workflow run on the main branch
11341134
id: changed-files-base-sha-pull-request
1135-
uses: tj-actions/changed-files@v41
1135+
uses: tj-actions/changed-files@v42
11361136
with:
11371137
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.base }}
11381138
...
@@ -1158,7 +1158,7 @@ See [inputs](#inputs) for more information.
11581158
...
11591159
- name: Run changed-files with dir_names
11601160
id: changed-files-dir-names
1161-
uses: tj-actions/changed-files@v41
1161+
uses: tj-actions/changed-files@v42
11621162
with:
11631163
dir_names: "true"
11641164
...
@@ -1175,7 +1175,7 @@ See [inputs](#inputs) for more information.
11751175
...
11761176
- name: Run changed-files with JSON output
11771177
id: changed-files-json
1178-
uses: tj-actions/changed-files@v41
1178+
uses: tj-actions/changed-files@v42
11791179
with:
11801180
json: "true"
11811181
...
@@ -1192,13 +1192,13 @@ See [inputs](#inputs) for more information.
11921192
...
11931193
- name: Get changed-files since 2022-08-19
11941194
id: changed-files-since
1195-
uses: tj-actions/changed-files@v41
1195+
uses: tj-actions/changed-files@v42
11961196
with:
11971197
since: "2022-08-19"
11981198

11991199
- name: Get changed-files until 2022-08-20
12001200
id: changed-files-until
1201-
uses: tj-actions/changed-files@v41
1201+
uses: tj-actions/changed-files@v42
12021202
with:
12031203
until: "2022-08-20"
12041204
...

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tj-actions/changed-files",
3-
"version": "41.1.2",
3+
"version": "42.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)