Deprecate all_changed output. (#62)

This commit is contained in:
Tonye Jack
2021-05-13 16:57:44 -04:00
committed by GitHub
parent 1c8bd519b4
commit ac8a08a71b
2 changed files with 4 additions and 31 deletions

View File

@@ -11,8 +11,7 @@ Get all modified files relative to the default branch (`pull_request*` events) o
- Between the current pull request branch and the default branch
- Between the last commit and the current pushed change.
- Restrict change detection to a subset of files.
- Report on files that have all changed.
- Report on files that have at least one file change.
- Report on files that have at least one change.
- Regex pattern matching on a subset of files.
@@ -74,7 +73,6 @@ jobs:
| Output | type | example | description |
|:-------------------:|:------------:|:------------------------------:|:----------------------------------------:|
| all_changed | `string` | `true` OR `false` | Returns `true` only when the filenames provided using the `files` input have all changed |
| any_changed | `string` | `true` OR `false` | Returns `true` when any of the filenames provided using the `files` input has changed |
| all_modified_files | `string` | `'new.txt other.png ...'` | Select all modified files <br /> *i.e a combination of all added, <br />copied and modified files (ACM).* |
| all_changed_files | `string` | `'new.txt other.png ...'` | Select all paths (*) <br /> *i.e a combination of all options below.* |
@@ -143,11 +141,6 @@ jobs:
.(sql)$
^(mynewfile|custom)
- name: Run step if all files listed above have changed
if: steps.changed-files-specific.outputs.all_changed == 'true'
run: |
echo "All files listed above has changed."
- name: Run step if any of the listed files above change
if: steps.changed-files-specific.outputs.any_changed == 'true'
run: |
@@ -179,9 +172,7 @@ jobs:
## Example
![Screen Shot 2021-04-02 at 9 06 04 AM](https://user-images.githubusercontent.com/17484350/113418057-b9fff600-9392-11eb-84e5-f5a91bfa8b11.png)
![Screen Shot 2021-05-13 at 4 55 30 PM](https://user-images.githubusercontent.com/17484350/118186772-1cc1c400-b40c-11eb-8fe8-b651e674ce96.png)
* Free software: [MIT license](LICENSE)