Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
271bbd60fe | ||
|
|
e629b8ea3a | ||
|
|
f048489251 | ||
|
|
e8ace0110c | ||
|
|
e83c52fc11 | ||
|
|
853caa603d | ||
|
|
17e2510d74 | ||
|
|
e858c485a2 | ||
|
|
19483649c5 |
41
CHANGELOG.md
41
CHANGELOG.md
@@ -1,41 +0,0 @@
|
||||
# Changelog
|
||||
|
||||
## [v3](https://github.com/tj-actions/changed-files/tree/v3) (2021-04-02)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v2.1...v3)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Update action.yml [\#11](https://github.com/tj-actions/changed-files/pull/11) ([jackton1](https://github.com/jackton1))
|
||||
- Update README.md [\#10](https://github.com/tj-actions/changed-files/pull/10) ([jackton1](https://github.com/jackton1))
|
||||
- Configure Renovate [\#9](https://github.com/tj-actions/changed-files/pull/9) ([renovate[bot]](https://github.com/apps/renovate))
|
||||
- Update test.yml [\#8](https://github.com/tj-actions/changed-files/pull/8) ([jackton1](https://github.com/jackton1))
|
||||
- Upgraded to v2.1 [\#6](https://github.com/tj-actions/changed-files/pull/6) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v2.1](https://github.com/tj-actions/changed-files/tree/v2.1) (2021-03-18)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v2...v2.1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Upgraded to v2 [\#5](https://github.com/tj-actions/changed-files/pull/5) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v2](https://github.com/tj-actions/changed-files/tree/v2) (2021-03-14)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1...v2)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Fixed end of string with separator [\#4](https://github.com/tj-actions/changed-files/pull/4) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v1](https://github.com/tj-actions/changed-files/tree/v1) (2021-03-05)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/7eba13b12c69e63845b6d8bf1d3453edb0549ff9...v1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Update action.yml [\#2](https://github.com/tj-actions/changed-files/pull/2) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
|
||||
|
||||
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
||||
21
HISTORY.md
21
HISTORY.md
@@ -1,5 +1,26 @@
|
||||
# Changelog
|
||||
|
||||
## [v4.1](https://github.com/tj-actions/changed-files/tree/v4.1) (2021-04-23)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v4...v4.1)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Upgraded to v4 [\#22](https://github.com/tj-actions/changed-files/pull/22) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v4](https://github.com/tj-actions/changed-files/tree/v4) (2021-04-23)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.3...v4)
|
||||
|
||||
**Implemented enhancements:**
|
||||
|
||||
- Feature request [\#15](https://github.com/tj-actions/changed-files/issues/15)
|
||||
- Added support for push events [\#21](https://github.com/tj-actions/changed-files/pull/21) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Upgraded to v3.3 [\#19](https://github.com/tj-actions/changed-files/pull/19) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v3.3](https://github.com/tj-actions/changed-files/tree/v3.3) (2021-04-20)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v3.2...v3.3)
|
||||
|
||||
19
README.md
19
README.md
@@ -3,14 +3,7 @@
|
||||
changed-files
|
||||
-------------
|
||||
|
||||
Get all modified files relative to the default branch.
|
||||
|
||||
> NOTE: :warning: This action should only run on the following events :warning:
|
||||
> * [push](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#push)
|
||||
> * [pull_request](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request)
|
||||
> * [pull_request_review](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_review)
|
||||
> * [pull_request_review_comment](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_review_comment)
|
||||
> * [pull_request_target](https://docs.github.com/en/actions/reference/events-that-trigger-workflows#pull_request_target)
|
||||
Get all modified files relative to the default branch or preceding commit.
|
||||
|
||||
|
||||
## Usage
|
||||
@@ -35,7 +28,7 @@ jobs:
|
||||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
- name: Get changed files
|
||||
id: changed_files
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
uses: tj-actions/changed-files@v4.1
|
||||
```
|
||||
|
||||
|
||||
@@ -57,7 +50,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get changed files
|
||||
id: changed_files
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
uses: tj-actions/changed-files@v4.1
|
||||
```
|
||||
|
||||
|
||||
@@ -69,11 +62,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get changed files using defaults
|
||||
id: changed_files
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
uses: tj-actions/changed-files@v4.1
|
||||
|
||||
- name: Get changed files using a comma separator
|
||||
id: changed_files_comma
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
uses: tj-actions/changed-files@v4.1
|
||||
with:
|
||||
separator: ","
|
||||
|
||||
@@ -107,7 +100,7 @@ jobs:
|
||||
|
||||
- name: Get changed files
|
||||
id: changed_files
|
||||
uses: tj-actions/changed-files@v3.3
|
||||
uses: tj-actions/changed-files@v4.1
|
||||
|
||||
- name: Pre-commit
|
||||
uses: pre-commit/action@v2.0.0
|
||||
|
||||
@@ -80,5 +80,5 @@ runs:
|
||||
shell: bash
|
||||
|
||||
branding:
|
||||
icon: git-commit
|
||||
icon: file-text
|
||||
color: white
|
||||
|
||||
Reference in New Issue
Block a user