Compare commits

..

13 Commits

Author SHA1 Message Date
Tonye Jack
18edda7475 Merge pull request #600 from tj-actions/fix/bug-with-dir-names 2022-08-25 23:45:04 -06:00
Tonye Jack
0268ea521b Update entrypoint.sh 2022-08-25 23:34:13 -06:00
Tonye Jack
841d7d379c Update entrypoint.sh 2022-08-25 23:31:47 -06:00
Tonye Jack
b12ac5bdd5 Update action.yml 2022-08-25 23:25:39 -06:00
Tonye Jack
967b5466c0 Update entrypoint.sh 2022-08-25 23:25:09 -06:00
Tonye Jack
559d530325 debug the path output file 2022-08-25 22:14:40 -06:00
Tonye Jack
b1929916fa fixed bug with pattern matching. 2022-08-25 22:12:38 -06:00
Tonye Jack
646144ddf8 fixed bug with pattern matching. 2022-08-25 22:09:42 -06:00
Tonye Jack
1bf658c5ba debug the path output file 2022-08-25 21:53:36 -06:00
Tonye Jack
659d5814cd Merge branch 'main' into fix/bug-with-dir-names 2022-08-25 21:49:01 -06:00
Tonye Jack
6aa0ae3b2c fix: bug with dir name 2022-08-25 21:46:41 -06:00
Tonye Jack
a9c3a8135d Merge pull request #597 from tj-actions/upgrade-to-v29.0.0
Upgraded to v29.0.0
2022-08-23 08:57:34 -06:00
jackton1
baedfec11a Upgraded from v28.0.0 -> v29.0.0 2022-08-23 14:45:00 +00:00
4 changed files with 49 additions and 29 deletions

View File

@@ -296,12 +296,21 @@ jobs:
id: changed-files-dir-names
uses: ./
with:
base_sha: d1c0ee4
sha: 4d04215
dir_names: "true"
- name: Show output
run: |
echo '${{ toJSON(steps.changed-files-dir-names.outputs) }}'
shell:
bash
- name: Check dir_names output
if: "!contains(steps.changed-files-dir-names.outputs.all_changed_files, 'test')"
run: |
echo "Invalid output: Expected to include (test) got (${{ steps.changed-files-dir-names.outputs.all_changed_files }})"
exit 1
shell:
bash
- name: Run changed-files since 2022-08-19
id: changed-files-since
uses: ./

View File

@@ -1,5 +1,20 @@
# Changelog
## [v29.0.0](https://github.com/tj-actions/changed-files/tree/v29.0.0) (2022-08-23)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v28.0.0...v29.0.0)
**Closed issues:**
- Dependency Dashboard [\#27](https://github.com/tj-actions/changed-files/issues/27)
**Merged pull requests:**
- chore\(deps\): update tj-actions/glob to v12 [\#596](https://github.com/tj-actions/changed-files/pull/596) ([jackton1](https://github.com/jackton1))
- chore\(deps\): update tj-actions/verify-changed-files action to v11 [\#595](https://github.com/tj-actions/changed-files/pull/595) ([renovate[bot]](https://github.com/apps/renovate))
- chore\(deps\): Update tj-actions/glob to v11.1 [\#594](https://github.com/tj-actions/changed-files/pull/594) ([jackton1](https://github.com/jackton1))
- Upgraded to v28.0.0 [\#592](https://github.com/tj-actions/changed-files/pull/592) ([jackton1](https://github.com/jackton1))
## [v28.0.0](https://github.com/tj-actions/changed-files/tree/v28.0.0) (2022-08-21)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v28...v28.0.0)
@@ -22,10 +37,6 @@
- \[BUG\] changes based on last remote commit fail after rebasing [\#546](https://github.com/tj-actions/changed-files/issues/546)
**Closed issues:**
- Dependency Dashboard [\#27](https://github.com/tj-actions/changed-files/issues/27)
**Merged pull requests:**
- feat: add support for using time based filtering. [\#588](https://github.com/tj-actions/changed-files/pull/588) ([jackton1](https://github.com/jackton1))
@@ -1319,7 +1330,7 @@
## [v7](https://github.com/tj-actions/changed-files/tree/v7) (2021-06-09)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6...v7)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.3...v7)
**Closed issues:**
@@ -1335,13 +1346,13 @@
- Update tj-actions/sync-release-version action to v8.7 [\#86](https://github.com/tj-actions/changed-files/pull/86) ([renovate[bot]](https://github.com/apps/renovate))
- Upgraded to v6.3 [\#85](https://github.com/tj-actions/changed-files/pull/85) ([jackton1](https://github.com/jackton1))
## [v6](https://github.com/tj-actions/changed-files/tree/v6) (2021-05-26)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.3...v6)
## [v6.3](https://github.com/tj-actions/changed-files/tree/v6.3) (2021-05-26)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.2...v6.3)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6...v6.3)
## [v6](https://github.com/tj-actions/changed-files/tree/v6) (2021-05-26)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v6.2...v6)
**Merged pull requests:**

View File

@@ -70,7 +70,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
- name: List all changed files
run: |
@@ -165,11 +165,11 @@ Support this project with a :star:
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
- name: Get changed files using a comma separator
id: changed-files-comma
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
separator: ","
@@ -191,7 +191,7 @@ Support this project with a :star:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
files: |
my-file.txt
@@ -232,14 +232,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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
files_from_source_file: |
test/changed-files-list.txt
@@ -248,13 +248,13 @@ Support this project with a :star:
- name: Use a different commit SHA
id: changed-files-custom-sha
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
base_sha: "2096ed0"
@@ -266,7 +266,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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
path: dir1
@@ -278,19 +278,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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
use_fork_point: "true"
- name: Run changed-files with quotepath disabled
id: changed-files-quotepath
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
quotepath: "false"
@@ -312,7 +312,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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
base_sha: ${{ steps.last_successful_commit_push.outputs.commit_hash }}
@@ -333,32 +333,32 @@ 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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
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@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
json: "true"
- name: Run changed-files since 2022-08-19
id: changed-files-since
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
since: "2022-08-19"
- name: Run changed-files until 2022-08-20
id: changed-files-until
uses: tj-actions/changed-files@v28.0.0
uses: tj-actions/changed-files@v29.0.0
with:
until: "2022-08-20"
```

View File

@@ -203,7 +203,7 @@ runs:
INPUT_PATH: ${{ inputs.path }}
INPUT_USE_FORK_POINT: ${{ inputs.use_fork_point }}
- name: Glob match
uses: tj-actions/glob@v12
uses: tj-actions/glob@v13
id: glob
with:
files: ${{ inputs.files }}