Upgraded to v44 (#2017)

Co-authored-by: jackton1 <17484350+jackton1@users.noreply.github.com>
This commit is contained in:
tj-actions[bot]
2024-03-26 20:33:57 -06:00
committed by GitHub
parent 2d756ea4c5
commit e4b8dafc5d
3 changed files with 72 additions and 32 deletions

View File

@@ -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
@@ -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: |
@@ -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:
@@ -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
@@ -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:
@@ -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
@@ -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.
@@ -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
...
```
@@ -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.
@@ -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: ","
...
@@ -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:
@@ -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')
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
...
@@ -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
@@ -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 }}
...
@@ -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 }}
...
@@ -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:
@@ -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/**
@@ -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
@@ -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"
@@ -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 }}
...
@@ -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 }}
...
@@ -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"
...
@@ -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"
...
@@ -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"
...