mirror of
https://github.com/tj-actions/changed-files
synced 2025-02-19 15:23:42 +00:00
Upgraded to v2.0.1 (#298)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
parent
59233a5db9
commit
686b672b03
2 changed files with 24 additions and 12 deletions
14
HISTORY.md
14
HISTORY.md
|
@ -1,8 +1,20 @@
|
|||
# Changelog
|
||||
|
||||
## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.2...HEAD)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Upgraded to v12.2 [\#297](https://github.com/tj-actions/changed-files/pull/297) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v12.2](https://github.com/tj-actions/changed-files/tree/v12.2) (2021-12-30)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.1...v12.2)
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v2.0.1...v12.2)
|
||||
|
||||
## [v2.0.1](https://github.com/tj-actions/changed-files/tree/v2.0.1) (2021-12-30)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v12.1...v2.0.1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
|
|
22
README.md
22
README.md
|
@ -63,7 +63,7 @@ jobs:
|
|||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
|
@ -140,11 +140,11 @@ Support this project with a :star:
|
|||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
|
@ -166,7 +166,7 @@ Support this project with a :star:
|
|||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
|
@ -204,14 +204,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@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
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@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
|
@ -220,13 +220,13 @@ Support this project with a :star:
|
|||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
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@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
|
@ -238,7 +238,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@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
|
@ -250,7 +250,7 @@ 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@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
with:
|
||||
since_last_remote_commit: "true"
|
||||
|
||||
|
@ -267,7 +267,7 @@ Support this project with a :star:
|
|||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v12.2
|
||||
uses: tj-actions/changed-files@v2.0.1
|
||||
|
||||
- name: Pre-commit
|
||||
uses: pre-commit/action@v2.0.0
|
||||
|
|
Loading…
Add table
Reference in a new issue