Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bfa539f0d | ||
|
|
4db62cd596 | ||
|
|
654e9a041e | ||
|
|
9af8ec1a72 |
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Checkout to branch
|
- name: Checkout to branch
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: shellcheck
|
- name: shellcheck
|
||||||
uses: reviewdog/action-shellcheck@v1.5
|
uses: reviewdog/action-shellcheck@v1.6
|
||||||
|
|
||||||
test-no-head-sha:
|
test-no-head-sha:
|
||||||
name: Test changed-files missing head sha
|
name: Test changed-files missing head sha
|
||||||
|
|||||||
@@ -1,5 +1,14 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [v8.3](https://github.com/tj-actions/changed-files/tree/v8.3) (2021-06-25)
|
||||||
|
|
||||||
|
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v8.2...v8.3)
|
||||||
|
|
||||||
|
**Merged pull requests:**
|
||||||
|
|
||||||
|
- Fixed empty branch name in debug message [\#115](https://github.com/tj-actions/changed-files/pull/115) ([jackton1](https://github.com/jackton1))
|
||||||
|
- Upgraded to v8.2 [\#114](https://github.com/tj-actions/changed-files/pull/114) ([jackton1](https://github.com/jackton1))
|
||||||
|
|
||||||
## [v8.2](https://github.com/tj-actions/changed-files/tree/v8.2) (2021-06-24)
|
## [v8.2](https://github.com/tj-actions/changed-files/tree/v8.2) (2021-06-24)
|
||||||
|
|
||||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v8.1...v8.2)
|
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v8.1...v8.2)
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -55,7 +55,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v8.2
|
uses: tj-actions/changed-files@v8.3
|
||||||
|
|
||||||
- name: List all modified files
|
- name: List all modified files
|
||||||
run: |
|
run: |
|
||||||
@@ -108,11 +108,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Get changed files using defaults
|
- name: Get changed files using defaults
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v8.2
|
uses: tj-actions/changed-files@v8.3
|
||||||
|
|
||||||
- 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@v8.2
|
uses: tj-actions/changed-files@v8.3
|
||||||
with:
|
with:
|
||||||
separator: ","
|
separator: ","
|
||||||
|
|
||||||
@@ -134,7 +134,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get specific changed files
|
- name: Get specific changed files
|
||||||
id: changed-files-specific
|
id: changed-files-specific
|
||||||
uses: tj-actions/changed-files@v8.2
|
uses: tj-actions/changed-files@v8.3
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
my-file.txt
|
my-file.txt
|
||||||
@@ -163,7 +163,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v8.2
|
uses: tj-actions/changed-files@v8.3
|
||||||
|
|
||||||
- name: Pre-commit
|
- name: Pre-commit
|
||||||
uses: pre-commit/action@v2.0.0
|
uses: pre-commit/action@v2.0.0
|
||||||
@@ -184,6 +184,8 @@ jobs:
|
|||||||
|
|
||||||
If you feel generous and want to show some extra appreciation:
|
If you feel generous and want to show some extra appreciation:
|
||||||
|
|
||||||
|
Support me with a :star:
|
||||||
|
|
||||||
[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
|
[![Buy me a coffee][buymeacoffee-shield]][buymeacoffee]
|
||||||
|
|
||||||
[buymeacoffee]: https://www.buymeacoffee.com/jackton1
|
[buymeacoffee]: https://www.buymeacoffee.com/jackton1
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
echo "::group::changed-files"
|
||||||
|
|
||||||
git remote set-url origin "https://${INPUT_TOKEN}@github.com/${GITHUB_REPOSITORY}"
|
git remote set-url origin "https://${INPUT_TOKEN}@github.com/${GITHUB_REPOSITORY}"
|
||||||
|
|
||||||
echo "Getting HEAD info..."
|
echo "Getting HEAD info..."
|
||||||
@@ -146,3 +148,5 @@ echo "::set-output name=unmerged_files::$UNMERGED"
|
|||||||
echo "::set-output name=unknown_files::$UNKNOWN"
|
echo "::set-output name=unknown_files::$UNKNOWN"
|
||||||
echo "::set-output name=all_changed_files::$ALL_CHANGED"
|
echo "::set-output name=all_changed_files::$ALL_CHANGED"
|
||||||
echo "::set-output name=all_modified_files::$ALL_MODIFIED_FILES"
|
echo "::set-output name=all_modified_files::$ALL_MODIFIED_FILES"
|
||||||
|
|
||||||
|
echo "::endgroup::"
|
||||||
|
|||||||
Reference in New Issue
Block a user