Compare commits

..

7 Commits
v1.1.3 ... v10

Author SHA1 Message Date
Tonye Jack
b86b537e2b Update README.md 2021-10-03 09:09:58 -04:00
Tonye Jack
5cb4d14be7 Update README.md 2021-10-03 09:09:30 -04:00
Tonye Jack
7bae8cf0e8 Update README.md 2021-09-29 12:15:56 -04:00
Tonye Jack
02612a5e97 Update README.md 2021-09-29 08:43:54 -04:00
Tonye Jack
98b231f5af Update README.md 2021-09-28 19:33:00 -04:00
Tonye Jack
8a129181d9 Update README.md (#201)
Fixes #200
2021-09-27 22:12:45 -04:00
Tonye Jack
4787cce9c3 Upgraded from v1.1.2 -> v1.1.3 (#199)
Co-authored-by: jackton1 <jackton1@users.noreply.github.com>
2021-09-26 02:40:13 -04:00
2 changed files with 46 additions and 24 deletions

View File

@@ -1,5 +1,31 @@
# Changelog
## [Unreleased](https://github.com/tj-actions/changed-files/tree/HEAD)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.1.3...HEAD)
**Fixed bugs:**
- \[BUG\] in entrypoint is referring to gihub.com repository [\#196](https://github.com/tj-actions/changed-files/issues/196)
## [v1.1.3](https://github.com/tj-actions/changed-files/tree/v1.1.3) (2021-09-26)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.1.2...v1.1.3)
**Closed issues:**
- Dependency Dashboard [\#27](https://github.com/tj-actions/changed-files/issues/27)
**Merged pull requests:**
- Fixed bug setting the server URL for github enterprise server [\#198](https://github.com/tj-actions/changed-files/pull/198) ([jackton1](https://github.com/jackton1))
- Update reviewdog/action-shellcheck action to v1.9 [\#197](https://github.com/tj-actions/changed-files/pull/197) ([renovate[bot]](https://github.com/apps/renovate))
- Updated test [\#195](https://github.com/tj-actions/changed-files/pull/195) ([jackton1](https://github.com/jackton1))
- Updated README.md [\#194](https://github.com/tj-actions/changed-files/pull/194) ([jackton1](https://github.com/jackton1))
- Bump tj-actions/branch-names from 4.9 to 5 [\#193](https://github.com/tj-actions/changed-files/pull/193) ([dependabot[bot]](https://github.com/apps/dependabot))
- Updated README.md [\#192](https://github.com/tj-actions/changed-files/pull/192) ([jackton1](https://github.com/jackton1))
- Upgraded to v1.1.2 [\#190](https://github.com/tj-actions/changed-files/pull/190) ([jackton1](https://github.com/jackton1))
## [v1.1.2](https://github.com/tj-actions/changed-files/tree/v1.1.2) (2021-09-05)
[Full Changelog](https://github.com/tj-actions/changed-files/compare/v1.1.1...v1.1.2)
@@ -32,10 +58,6 @@
- \[Feature\] Specify sed delimiter or escaping forward slashes used in separator [\#180](https://github.com/tj-actions/changed-files/issues/180)
**Closed issues:**
- Dependency Dashboard [\#27](https://github.com/tj-actions/changed-files/issues/27)
**Merged pull requests:**
- Update pascalgn/automerge-action action to v0.14.3 [\#184](https://github.com/tj-actions/changed-files/pull/184) ([renovate[bot]](https://github.com/apps/renovate))

View File

@@ -16,7 +16,7 @@ Retrieve all changed files relative to the default branch (`pull_request*` based
## Features
* Fast execution.
* Fast execution (0-2 seconds on average).
* Easy to debug.
* Boolean output indicating that certain files have been modified.
* Multiple repository support.
@@ -56,7 +56,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
- name: List all modified files
run: |
@@ -80,14 +80,14 @@ jobs:
| Output | type | example | description |
|:--------------------:|:------------:|:----------------------------------:|:----------------------------------------:|
| any\_changed | `string` | `true` OR `false` | Returns `true` when any <br /> of the filenames provided using <br /> the `files` input has changed. <br /> i.e. *using a combination of all added, <br />copied, modified and renamed files (ACMR).* |
| any\_changed | `string` | `true` OR `false` | Returns `true` when any <br /> of the filenames provided using <br /> the `files` input has changed. <br /> i.e. *using a combination of all added, <br />copied, modified and renamed files (ACMR)* |
| only\_changed | `string` | `true` OR `false` | Returns `true` when only <br /> files provided using <br /> the `files` input have changed. (ACMR) |
| other\_changed\_files | `string` | `'new.txt path/to/file.png ...'` | Select all other changed files <br/> not listed in the files input <br /> i.e. *a combination of all added, <br /> copied and modified files (ACMR).* |
| any\_deleted | `string` | `true` OR `false` | Returns `true` when any <br /> of the filenames provided using <br /> the `files` input has been deleted. (D).\* |
| other\_changed\_files | `string` | `'new.txt path/to/file.png ...'` | Select all other changed files <br/> not listed in the files input <br /> i.e. *a combination of all added, <br /> copied and modified files (ACMR)* |
| any\_deleted | `string` | `true` OR `false` | Returns `true` when any <br /> of the filenames provided using <br /> the `files` input has been deleted. (D) |
| only\_deleted | `string` | `true` OR `false` | Returns `true` when only <br /> files provided using <br /> the `files` input has been deleted. (D) |
| other\_deleted\_files | `string` | `'new.txt path/to/file.png ...'` | Select all other deleted files <br/> not listed in the files input <br /> i.e. *a combination of all deleted files (D).* |
| all\_modified\_files | `string` | `'new.txt path/to/file.png ...'` | Select all modified files <br /> i.e. a combination of all added, <br />copied, modified and renamed files (ACMR).\* |
| all\_changed\_and\_modified\_files | `string` | `'new.txt path/to/file.png ...'` | Select all changed <br /> and modified files <br /> i.e. *a combination of (ACMRDTUX).* |
| other\_deleted\_files | `string` | `'new.txt path/to/file.png ...'` | Select all other deleted files <br/> not listed in the files input <br /> i.e. *a combination of all deleted files (D)* |
| all\_modified\_files | `string` | `'new.txt path/to/file.png ...'` | Select all modified files <br /> i.e. *a combination of all added, <br />copied, modified and renamed files (ACMR)* |
| all\_changed\_and\_modified\_files | `string` | `'new.txt path/to/file.png ...'` | Select all changed <br /> and modified files <br /> i.e. *a combination of (ACMRDTUX)* |
| added\_files | `string` | `'new.txt path/to/file.png ...'` | Select only files that are Added (A) |
| copied\_files | `string` | `'new.txt path/to/file.png ...'` | Select only files that are Copied (C) |
| deleted\_files | `string` | `'new.txt path/to/file.png ...'` | Select only files that are Deleted (D) |
@@ -118,11 +118,11 @@ jobs:
- name: Get changed files using defaults
id: changed-files
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
- name: Get changed files using a comma separator
id: changed-files-comma
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
with:
separator: ","
@@ -144,16 +144,16 @@ jobs:
- name: Get specific changed files
id: changed-files-specific
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
with:
files: |
my-file.txt
test.txt
new.txt
test_directory
*.sh
\.sh$
.(png|jpeg)$
.(sql)$
.(sql|py)$
^(mynewfile|custom)
- name: Run step if any of the listed files above change
@@ -182,29 +182,29 @@ jobs:
- 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@v1.1.2
uses: tj-actions/changed-files@v1.1.3
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@v1.1.2
uses: tj-actions/changed-files@v1.1.3
with:
files_from_source_file: |
test/changed-files-list.txt
files: |
.github/workflows/rebase.yml
test.txt
- name: Use a different commit SHA
id: changed-files-custom-sha
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
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@v1.1.2
uses: tj-actions/changed-files@v1.1.3
with:
base_sha: "2096ed0"
@@ -216,7 +216,7 @@ jobs:
- name: Run changed-files with defaults on the dir1
id: changed-files-for-dir1
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
with:
path: dir1
@@ -238,7 +238,7 @@ jobs:
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v1.1.2
uses: tj-actions/changed-files@v1.1.3
- name: Pre-commit
uses: pre-commit/action@v2.0.0