mirror of
https://github.com/tj-actions/changed-files
synced 2024-12-16 19:27:39 +00:00
Upgraded from v23.2 -> v24 (#555)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
parent
6c44eb8294
commit
3020c439b0
2 changed files with 26 additions and 18 deletions
12
HISTORY.md
12
HISTORY.md
|
@ -1,12 +1,20 @@
|
|||
# Changelog
|
||||
|
||||
## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD)
|
||||
## [v24](https://github.com/tj-actions/changed-files/tree/v24) (2022-07-22)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v23.2...HEAD)
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v23.2...v24)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- \[BUG\] PREVIOUS\_SHA & CURRENT\_SHA is the same when re-running a workflow, causing changed-files to be empty [\#547](https://github.com/tj-actions/changed-files/issues/547)
|
||||
- \[BUG\] Keep the same commit SHA between workflows [\#543](https://github.com/tj-actions/changed-files/issues/543)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- fix: error raised for the first repo commit [\#554](https://github.com/tj-actions/changed-files/pull/554) ([jackton1](https://github.com/jackton1))
|
||||
- chore: Update README.md [\#553](https://github.com/tj-actions/changed-files/pull/553) ([jackton1](https://github.com/jackton1))
|
||||
- chore: update README.md [\#552](https://github.com/tj-actions/changed-files/pull/552) ([jackton1](https://github.com/jackton1))
|
||||
- Upgraded to v23.2 [\#551](https://github.com/tj-actions/changed-files/pull/551) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v23.2](https://github.com/tj-actions/changed-files/tree/v23.2) (2022-07-18)
|
||||
|
||||
|
|
32
README.md
32
README.md
|
@ -68,7 +68,7 @@ jobs:
|
|||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
|
@ -160,11 +160,11 @@ Support this project with a :star:
|
|||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
|
@ -186,7 +186,7 @@ Support this project with a :star:
|
|||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
|
@ -227,14 +227,14 @@ Support this project with a :star:
|
|||
|
||||
- name: Use a source file or list of file(s) to populate to files input.
|
||||
id: changed-files-specific-source-file
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
|
||||
- name: Use 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@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
|
@ -243,13 +243,13 @@ Support this project with a :star:
|
|||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
sha: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Use a different base SHA
|
||||
id: changed-files-custom-base-sha
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
|
@ -261,7 +261,7 @@ Support this project with a :star:
|
|||
|
||||
- name: Run changed-files with defaults on the dir1
|
||||
id: changed-files-for-dir1
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
|
@ -273,19 +273,19 @@ Support this project with a :star:
|
|||
|
||||
- name: Run changed-files using the last commit on the remote branch
|
||||
id: changed-files-since-last-remote-commit
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
since_last_remote_commit: "true"
|
||||
|
||||
- name: Run changed-files using the fork point of a pull request
|
||||
id: changed-files-fork-point
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
use_fork_point: "true"
|
||||
|
||||
- name: Run changed-files with quotepath disabled
|
||||
id: changed-files-quotepath
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
quotepath: "false"
|
||||
|
||||
|
@ -307,7 +307,7 @@ Support this project with a :star:
|
|||
|
||||
- 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@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
|
||||
|
||||
|
@ -328,13 +328,13 @@ Support this project with a :star:
|
|||
- name: Run changed-files with the commit of the last successful test workflow run on main
|
||||
if: github.event_name == 'pull_request'
|
||||
id: changed-files-base-sha-pull-request
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }}
|
||||
|
||||
- name: Run changed-files with dir_names
|
||||
id: changed-files-dir-names
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
dir_names: "true"
|
||||
```
|
||||
|
@ -387,7 +387,7 @@ With the switch from using grep's Extended regex to match files to the natively
|
|||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v23.2
|
||||
uses: tj-actions/changed-files@v24
|
||||
with:
|
||||
files: |
|
||||
*.sh
|
||||
|
|
Loading…
Reference in a new issue