Compare commits

...

4 Commits
v24.1 ... v25

Author SHA1 Message Date
Tonye Jack
36e65a1165 chore(deps): upgrade glob v9.2 to v10 (#566) 2022-08-08 12:27:55 -06:00
Tonye Jack
4ef34fc5f4 Update README.md 2022-08-07 15:14:00 -06:00
Tonye Jack
95e9882404 Update README.md 2022-08-07 15:13:09 -06:00
Tonye Jack
b977bc8ddc Upgraded from v24 -> v24.1 (#561)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
2022-08-03 15:16:13 -06:00
3 changed files with 47 additions and 28 deletions

View File

@@ -1,5 +1,26 @@
# Changelog
## [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)
**Implemented enhancements:**
- \[Feature\] Execute against master [\#556](https://github.com/tj-actions/changed-files/issues/556)
- \[Feature\] implement an outputs for matrix compatible jobs [\#530](https://github.com/tj-actions/changed-files/issues/530)
**Fixed bugs:**
- \[BUG\] Separator removing double-quotes [\#545](https://github.com/tj-actions/changed-files/issues/545)
**Merged pull requests:**
- fix: bug with matrix job [\#560](https://github.com/tj-actions/changed-files/pull/560) ([jackton1](https://github.com/jackton1))
- fix: bug with matrix job [\#559](https://github.com/tj-actions/changed-files/pull/559) ([jackton1](https://github.com/jackton1))
- chore: update action name [\#558](https://github.com/tj-actions/changed-files/pull/558) ([jackton1](https://github.com/jackton1))
- feat: add support for json formatted output. [\#557](https://github.com/tj-actions/changed-files/pull/557) ([jackton1](https://github.com/jackton1))
- Upgraded to v24 [\#555](https://github.com/tj-actions/changed-files/pull/555) ([jackton1](https://github.com/jackton1))
## [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...v24)
@@ -44,10 +65,6 @@
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v23...v23.1)
**Implemented enhancements:**
- \[Feature\] implement an outputs for matrix compatible jobs [\#530](https://github.com/tj-actions/changed-files/issues/530)
**Fixed bugs:**
- \[BUG\] Misleading error if git command is missing [\#532](https://github.com/tj-actions/changed-files/issues/532)
@@ -804,7 +821,7 @@
## [v1.2.1](https://github.com/tj-actions/changed-files/tree/v1.2.1) (2021-11-08)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v1.2.1)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.1)
**Implemented enhancements:**
@@ -818,13 +835,13 @@
- Update actions/checkout action to v2.4.0 [\#243](https://github.com/tj-actions/changed-files/pull/243) ([renovate[bot]](https://github.com/apps/renovate))
- Upgraded to v11.5 [\#241](https://github.com/tj-actions/changed-files/pull/241) ([jackton1](https://github.com/jackton1))
## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.5...v1.2.0)
## [v11.5](https://github.com/tj-actions/changed-files/tree/v11.5) (2021-10-30)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v11.5)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.2.0...v11.5)
## [v1.2.0](https://github.com/tj-actions/changed-files/tree/v1.2.0) (2021-10-30)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v11.4...v1.2.0)
**Merged pull requests:**

View File

@@ -23,6 +23,8 @@ Retrieve all changed files and directories relative to the target branch (`pull_
* Scales to large repositories.
* Git submodules support.
* No extra API calls.
* Escaped JSON Output which can be used for running matrix jobs based on changed files.
* List only changed directories.
* Monorepos (Fetches only the last remote commit).
* Supports all platforms (Linux, MacOS, Windows).
* [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) support
@@ -68,7 +70,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
- name: List all changed files
run: |
@@ -161,11 +163,11 @@ Support this project with a :star:
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
- name: Get changed files using a comma separator
id: changed-files-comma
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
separator: ","
@@ -187,7 +189,7 @@ Support this project with a :star:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
files: |
my-file.txt
@@ -228,14 +230,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@v24
uses: tj-actions/changed-files@v24.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@v24
uses: tj-actions/changed-files@v24.1
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -244,13 +246,13 @@ Support this project with a :star:
- name: Use a different commit SHA
id: changed-files-custom-sha
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.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@v24
uses: tj-actions/changed-files@v24.1
with:
base_sha: "2096ed0"
@@ -262,7 +264,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@v24
uses: tj-actions/changed-files@v24.1
with:
path: dir1
@@ -274,19 +276,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@v24
uses: tj-actions/changed-files@v24.1
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@v24
uses: tj-actions/changed-files@v24.1
with:
use_fork_point: "true"
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
quotepath: "false"
@@ -308,7 +310,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@v24
uses: tj-actions/changed-files@v24.1
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
@@ -329,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
if: github.event_name == 'pull_request'
id: changed-files-base-sha-pull-request
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
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@v24
uses: tj-actions/changed-files@v24.1
with:
dir_names: "true"
# All outputs are JSON formatted arrays and can be used in other actions and matrix compatible jobs.
- name: Run changed-files with json output
id: changed-files-json
uses: tj-actions/changed-files@v24
uses: tj-actions/changed-files@v24.1
with:
json: "true"
```
@@ -395,7 +397,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@v24
uses: tj-actions/changed-files@v24.1
with:
files: |
*.sh

View File

@@ -179,7 +179,7 @@ runs:
INPUT_PATH: ${{ inputs.path }}
INPUT_USE_FORK_POINT: ${{ inputs.use_fork_point }}
- name: Glob match
uses: tj-actions/glob@v9.2
uses: tj-actions/glob@v10
id: glob
with:
files: ${{ inputs.files }}