Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f16c26f3d | ||
|
|
fa18b2cf05 | ||
|
|
fd7c70d42d | ||
|
|
be3bd2810f |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -615,7 +615,7 @@ jobs:
|
||||
if: steps.changed-files-specific-only-changed.outputs.other_deleted_files != ''
|
||||
run: |
|
||||
if [[ "${{ steps.changed-files-specific-only-changed.outputs.only_deleted }}" != "false" ]]; then
|
||||
echo "Invalid output: Expected (false) got (${{ steps.changed-files-specific-only-changed.outputs.only_deleted }})"
|
||||
echo "Invalid output: Expected (false) got (${{ steps.changed-files-specific-only-changed.outputs.only_deleted }})."
|
||||
exit 1
|
||||
fi
|
||||
shell:
|
||||
|
||||
32
HISTORY.md
32
HISTORY.md
@@ -1,13 +1,17 @@
|
||||
# Changelog
|
||||
|
||||
## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD)
|
||||
## [v14.2](https://github.com/tj-actions/changed-files/tree/v14.2) (2022-02-01)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v4.0.2...HEAD)
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v4.0.2...v14.2)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- \[BUG\] Negating filter doesn't work [\#335](https://github.com/tj-actions/changed-files/issues/335)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Upgraded to v4.0.2 [\#338](https://github.com/tj-actions/changed-files/pull/338) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v4.0.2](https://github.com/tj-actions/changed-files/tree/v4.0.2) (2022-02-01)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v14.1...v4.0.2)
|
||||
@@ -63,7 +67,7 @@
|
||||
|
||||
## [v3.0.2](https://github.com/tj-actions/changed-files/tree/v3.0.2) (2022-01-25)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.0.1...v3.0.2)
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v13.1...v3.0.2)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
@@ -81,13 +85,13 @@
|
||||
- Upgraded to v13.1 [\#316](https://github.com/tj-actions/changed-files/pull/316) ([jackton1](https://github.com/jackton1))
|
||||
- Upgraded to v3.0.1 [\#315](https://github.com/tj-actions/changed-files/pull/315) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v3.0.1](https://github.com/tj-actions/changed-files/tree/v3.0.1) (2022-01-09)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v13.1...v3.0.1)
|
||||
|
||||
## [v13.1](https://github.com/tj-actions/changed-files/tree/v13.1) (2022-01-09)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.0.0...v13.1)
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.0.1...v13.1)
|
||||
|
||||
## [v3.0.1](https://github.com/tj-actions/changed-files/tree/v3.0.1) (2022-01-09)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.0.0...v3.0.1)
|
||||
|
||||
**Closed issues:**
|
||||
|
||||
@@ -286,7 +290,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:**
|
||||
|
||||
@@ -300,13 +304,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:**
|
||||
|
||||
|
||||
26
README.md
26
README.md
@@ -1,5 +1,5 @@
|
||||
[](https://www.codacy.com/gh/tj-actions/changed-files/dashboard?utm_source=github.com\&utm_medium=referral\&utm_content=tj-actions/changed-files\&utm_campaign=Badge_Grade)
|
||||
[](https://github.com/tj-actions/changed-files/actions/workflows/test.yml) [](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml) [](https://github.com/search?o=desc\&q=tj-actions+changed-files+language%3AYAML\&s=\&type=Code)
|
||||
[](https://github.com/tj-actions/changed-files/actions/workflows/test.yml) [](https://github.com/tj-actions/changed-files/actions/workflows/sync-release-version.yml) [](https://github.com/search?o=desc\&q=tj-actions+changed-files+language%3AYAML\&s=\&type=Code)
|
||||
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
[](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on)
|
||||
@@ -64,7 +64,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
|
||||
- name: List all changed files
|
||||
run: |
|
||||
@@ -141,11 +141,11 @@ Support this project with a :star:
|
||||
|
||||
- name: Get changed files using defaults
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed-files-comma
|
||||
uses: tj-actions/changed-files@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
@@ -167,7 +167,7 @@ Support this project with a :star:
|
||||
|
||||
- name: Get specific changed files
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
files: |
|
||||
my-file.txt
|
||||
@@ -206,14 +206,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@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
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@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
files_from_source_file: |
|
||||
test/changed-files-list.txt
|
||||
@@ -222,13 +222,13 @@ Support this project with a :star:
|
||||
|
||||
- name: Use a different commit SHA
|
||||
id: changed-files-custom-sha
|
||||
uses: tj-actions/changed-files@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
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@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
base_sha: "2096ed0"
|
||||
|
||||
@@ -240,7 +240,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@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
path: dir1
|
||||
|
||||
@@ -252,7 +252,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@v4.0.2
|
||||
uses: tj-actions/changed-files@v14.2
|
||||
with:
|
||||
since_last_remote_commit: "true"
|
||||
|
||||
@@ -274,8 +274,8 @@ Support this project with a :star:
|
||||
|
||||
| Runner | Supported version |
|
||||
|--------------------------|-----------------------|
|
||||
| [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) | `v14.1` |
|
||||
| [GitHub Enterprise Server](https://docs.github.com/en/enterprise-server@3.3/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server) | `v14.1` |
|
||||
| [GitHub-hosted runners](https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners) | `v14.2` |
|
||||
| [GitHub Enterprise Server](https://docs.github.com/en/enterprise-server@3.3/admin/github-actions/getting-started-with-github-actions-for-your-enterprise/getting-started-with-github-actions-for-github-enterprise-server) | `v14.2` |
|
||||
| [self-hosted runners](https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners) | `v12.2` & `v2.0.1` |
|
||||
|
||||
## Credits
|
||||
|
||||
@@ -113,7 +113,7 @@ runs:
|
||||
id: base-sha
|
||||
shell: bash
|
||||
- name: Glob match
|
||||
uses: tj-actions/glob@v5
|
||||
uses: tj-actions/glob@v6
|
||||
id: glob
|
||||
with:
|
||||
files: ${{ inputs.files }}
|
||||
|
||||
Reference in New Issue
Block a user