3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-29 13:34:51 +00:00

Upgraded to v25 (#567)

Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
This commit is contained in:
Tonye Jack 2022-08-08 13:56:57 -06:00 committed by GitHub
parent 36e65a1165
commit 9014219205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 17 deletions

View file

@ -1,5 +1,26 @@
# Changelog # Changelog
## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v25...HEAD)
**Fixed bugs:**
- \[BUG\] Will output all changed files if not file matches the `**/*.sql` pattern [\#565](https://github.com/tj-actions/changed-files/issues/565)
## [v25](https://github.com/tj-actions/changed-files/tree/v25) (2022-08-08)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v24.1...v25)
**Fixed bugs:**
- \[BUG\] missing opening '\(' then stop with windows-latest [\#562](https://github.com/tj-actions/changed-files/issues/562)
**Merged pull requests:**
- chore\(deps\): upgrade tj-actions/glob v9.2 to v10 [\#566](https://github.com/tj-actions/changed-files/pull/566) ([jackton1](https://github.com/jackton1))
- Upgraded to v24.1 [\#561](https://github.com/tj-actions/changed-files/pull/561) ([jackton1](https://github.com/jackton1))
## [v24.1](https://github.com/tj-actions/changed-files/tree/v24.1) (2022-08-03) ## [v24.1](https://github.com/tj-actions/changed-files/tree/v24.1) (2022-08-03)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v24...v24.1) [Full Changelog](https://github.com/tj-actions/changed-files/compare/v24...v24.1)

View file

@ -70,7 +70,7 @@ jobs:
- name: Get changed files - name: Get changed files
id: changed-files id: changed-files
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
- name: List all changed files - name: List all changed files
run: | run: |
@ -163,11 +163,11 @@ Support this project with a :star:
- name: Get changed files using defaults - name: Get changed files using defaults
id: changed-files id: changed-files
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
- name: Get changed files using a comma separator - name: Get changed files using a comma separator
id: changed-files-comma id: changed-files-comma
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
separator: "," separator: ","
@ -189,7 +189,7 @@ Support this project with a :star:
- name: Get specific changed files - name: Get specific changed files
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
files: | files: |
my-file.txt my-file.txt
@ -230,14 +230,14 @@ Support this project with a :star:
- name: Use a source file or list of file(s) to populate to files input. - name: Use a source file or list of file(s) to populate to files input.
id: changed-files-specific-source-file id: changed-files-specific-source-file
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
files_from_source_file: | files_from_source_file: |
test/changed-files-list.txt 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. - 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 id: changed-files-specific-source-file-and-specify-files
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
files_from_source_file: | files_from_source_file: |
test/changed-files-list.txt test/changed-files-list.txt
@ -246,13 +246,13 @@ Support this project with a :star:
- name: Use a different commit SHA - name: Use a different commit SHA
id: changed-files-custom-sha id: changed-files-custom-sha
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
sha: ${{ github.event.pull_request.head.sha }} sha: ${{ github.event.pull_request.head.sha }}
- name: Use a different base SHA - name: Use a different base SHA
id: changed-files-custom-base-sha id: changed-files-custom-base-sha
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
base_sha: "2096ed0" base_sha: "2096ed0"
@ -264,7 +264,7 @@ Support this project with a :star:
- name: Run changed-files with defaults on the dir1 - name: Run changed-files with defaults on the dir1
id: changed-files-for-dir1 id: changed-files-for-dir1
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
path: dir1 path: dir1
@ -276,19 +276,19 @@ Support this project with a :star:
- name: Run changed-files using the last commit on the remote branch - name: Run changed-files using the last commit on the remote branch
id: changed-files-since-last-remote-commit id: changed-files-since-last-remote-commit
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
since_last_remote_commit: "true" since_last_remote_commit: "true"
- name: Run changed-files using the fork point of a pull request - name: Run changed-files using the fork point of a pull request
id: changed-files-fork-point id: changed-files-fork-point
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
use_fork_point: "true" use_fork_point: "true"
- name: Run changed-files with quotepath disabled - name: Run changed-files with quotepath disabled
id: changed-files-quotepath id: changed-files-quotepath
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
quotepath: "false" quotepath: "false"
@ -310,7 +310,7 @@ Support this project with a :star:
- name: Run changed-files with the commit of the last successful test workflow run - name: Run changed-files with the commit of the last successful test workflow run
id: changed-files-base-sha-push id: changed-files-base-sha-push
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }} base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
@ -331,20 +331,20 @@ Support this project with a :star:
- name: Run changed-files with the commit of the last successful test workflow run on main - name: Run changed-files with the commit of the last successful test workflow run on main
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
id: changed-files-base-sha-pull-request id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }} base_sha: ${{ steps.last_successful_commit_pull_request.outputs.commit_hash }}
- name: Run changed-files with dir_names - name: Run changed-files with dir_names
id: changed-files-dir-names id: changed-files-dir-names
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
dir_names: "true" dir_names: "true"
# All outputs are JSON formatted arrays and can be used in other actions and matrix compatible jobs. # All outputs are JSON formatted arrays and can be used in other actions and matrix compatible jobs.
- name: Run changed-files with json output - name: Run changed-files with json output
id: changed-files-json id: changed-files-json
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
json: "true" json: "true"
``` ```
@ -397,7 +397,7 @@ With the switch from using grep's Extended regex to match files to the natively
- name: Get specific changed files - name: Get specific changed files
id: changed-files-specific id: changed-files-specific
uses: tj-actions/changed-files@v24.1 uses: tj-actions/changed-files@v25
with: with:
files: | files: |
*.sh *.sh