Update README.md
This commit is contained in:
22
README.md
22
README.md
@@ -60,7 +60,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
|
||||
- name: List all modified files
|
||||
run: |
|
||||
@@ -123,11 +123,11 @@ jobs:
|
||||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
@@ -149,7 +149,7 @@ jobs:
|
||||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@@ -187,14 +187,14 @@ jobs:
|
||||
|
||||
- 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@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
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@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@@ -203,13 +203,13 @@ jobs:
|
||||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
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@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
@@ -221,7 +221,7 @@ jobs:
|
||||
|
||||
- name: Run changed-files with defaults on the dir1
|
||||
id: changed-files-for-dir1
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
@@ -233,7 +233,7 @@ jobs:
|
||||
|
||||
- name: Run changed-files using the last commit on the remote branch
|
||||
id: changed-files-since-last-remote-commit
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
with:
|
||||
since_last_remote_commit: 'true'
|
||||
|
||||
@@ -250,7 +250,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v11.5
|
||||
uses: tj-actions/changed-files@v11.7
|
||||
|
||||
- name: Pre-commit
|
||||
uses: pre-commit/action@v2.0.0
|
||||
|
||||
Reference in New Issue
Block a user