diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 228f244d..fa708079 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -144,6 +144,7 @@ jobs: with: files: | README.md + test/** - name: Commit README changes if: steps.verify-changed-files.outputs.files_changed == 'true' diff --git a/test/README-inputColumns.md b/test/README-inputColumns.md index 2da45585..db6e3f65 100644 --- a/test/README-inputColumns.md +++ b/test/README-inputColumns.md @@ -4,14 +4,15 @@ -| INPUT | TYPE | DESCRIPTION | -|-----------|--------|-------------------------------------------------------------------------------------| -| base_sha | string | Specify a base commit SHA
used for comparing changes | -| files | string | Check for changes using only
this list of files (Defaults
to the entire repo) | -| path | string | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| -| separator | string | Split character for array output
| -| sha | string | Specify a current commit SHA
used for comparing changes | -| token | string | Github token or Repo Scoped
Personal Access Token | +| INPUT | TYPE | DESCRIPTION | +|----------------|--------|-------------------------------------------------------------------------------------| +| base_sha | string | Specify a base commit SHA
used for comparing changes | +| files | string | Check for changes using only
this list of files (Defaults
to the entire repo) | +| path | string | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| +| path_separator | string | Path separator | +| separator | string | Split character for array output
| +| sha | string | Specify a current commit SHA
used for comparing changes | +| token | string | Github token or Repo Scoped
Personal Access Token | @@ -21,20 +22,20 @@ | OUTPUT | TYPE | DESCRIPTION | |--------------------------------|--------|-----------------------------------------------------------------------------------------| -| added_files | string | List of added files. | -| all_changed_and_modified_files | string | List of all changed files.
| -| all_modified_files | string | List of all copied modified
and added files. | -| any_changed | string | Return true only when any
files provided using the files
input have changed. | -| any_deleted | string | Return true only when any
files provided using the files
input have been deleted. | -| copied_files | string | List of copied files. | -| deleted_files | string | List of deleted files. | -| modified_files | string | List of modified files. | -| only_changed | string | Return true when all files
provided using the files input
have changed. | -| only_deleted | string | Return true when all files
provided using the files input
have been deleted. | -| other_deleted_files | string | Return list of deleted files
not listed in the files
input. | -| renamed_files | string | List of renamed files. | -| type_changed_files | string | List of files that had
type changes. | -| unknown_files | string | List of unknown files. | -| unmerged_files | string | List of unmerged files. | +| added_files | string | List of added files. | +| all_changed_and_modified_files | string | List of all changed files.
| +| all_modified_files | string | List of all copied modified
and added files. | +| any_changed | string | Return true only when any
files provided using the files
input have changed. | +| any_deleted | string | Return true only when any
files provided using the files
input have been deleted. | +| copied_files | string | List of copied files. | +| deleted_files | string | List of deleted files. | +| modified_files | string | List of modified files. | +| only_changed | string | Return true when all files
provided using the files input
have changed. | +| only_deleted | string | Return true when all files
provided using the files input
have been deleted. | +| other_deleted_files | string | Return list of deleted files
not listed in the files
input. | +| renamed_files | string | List of renamed files. | +| type_changed_files | string | List of files that had
type changes. | +| unknown_files | string | List of unknown files. | +| unmerged_files | string | List of unmerged files. | diff --git a/test/README-outputColumns.md b/test/README-outputColumns.md index 41efb43b..5d8fcc5d 100644 --- a/test/README-outputColumns.md +++ b/test/README-outputColumns.md @@ -4,14 +4,15 @@ -| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | -|-----------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------| -| base_sha | string | false | | Specify a base commit SHA
used for comparing changes | -| files | string | false | `"README.md"`
`"README.md"`
| Check for changes using only
this list of files (Defaults
to the entire repo) | -| path | string | false | | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| -| separator | string | true | `"\|"` | Split character for array output
| -| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA
used for comparing changes | -| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped
Personal Access Token | +| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | +|----------------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------| +| base_sha | string | false | | Specify a base commit SHA
used for comparing changes | +| files | string | false | `"README.md"`
`"README.md"`
| Check for changes using only
this list of files (Defaults
to the entire repo) | +| path | string | false | | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| +| path_separator | string | false | `"\n"` | Path separator | +| separator | string | true | `"\|"` | Split character for array output
| +| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA
used for comparing changes | +| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped
Personal Access Token | @@ -21,20 +22,20 @@ | OUTPUT | TYPE | |--------------------------------|--------| -| added_files | string | +| added_files | string | | all_changed_and_modified_files | string | -| all_modified_files | string | -| any_changed | string | -| any_deleted | string | -| copied_files | string | -| deleted_files | string | -| modified_files | string | -| only_changed | string | -| only_deleted | string | -| other_deleted_files | string | -| renamed_files | string | -| type_changed_files | string | -| unknown_files | string | -| unmerged_files | string | +| all_modified_files | string | +| any_changed | string | +| any_deleted | string | +| copied_files | string | +| deleted_files | string | +| modified_files | string | +| only_changed | string | +| only_deleted | string | +| other_deleted_files | string | +| renamed_files | string | +| type_changed_files | string | +| unknown_files | string | +| unmerged_files | string | diff --git a/test/README.md b/test/README.md index ad12ee34..1ef2e3c4 100644 --- a/test/README.md +++ b/test/README.md @@ -6,13 +6,13 @@ | INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | |----------------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------| -| base_sha | string | false | | Specify a base commit SHA
used for comparing changes | -| files | string | false | `"README.md"`
`"README.md"`
| Check for changes using only
this list of files (Defaults
to the entire repo) | -| path | string | false | | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| -| path_separator | string | false | `"\n"` | Path separator | -| separator | string | true | `"\|"` | Split character for array output
| -| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA
used for comparing changes | -| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped
Personal Access Token | +| base_sha | string | false | | Specify a base commit SHA
used for comparing changes | +| files | string | false | `"README.md"`
`"README.md"`
| Check for changes using only
this list of files (Defaults
to the entire repo) | +| path | string | false | | Specify a relative path under
$GITHUB_WORKSPACE to locate the repository
| +| path_separator | string | false | `"\n"` | Path separator | +| separator | string | true | `"\|"` | Split character for array output
| +| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA
used for comparing changes | +| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped
Personal Access Token | @@ -22,20 +22,20 @@ | OUTPUT | TYPE | DESCRIPTION | |--------------------------------|--------|-----------------------------------------------------------------------------------------| -| added_files | string | List of added files. | -| all_changed_and_modified_files | string | List of all changed files.
| -| all_modified_files | string | List of all copied modified
and added files. | -| any_changed | string | Return true only when any
files provided using the files
input have changed. | -| any_deleted | string | Return true only when any
files provided using the files
input have been deleted. | -| copied_files | string | List of copied files. | -| deleted_files | string | List of deleted files. | -| modified_files | string | List of modified files. | -| only_changed | string | Return true when all files
provided using the files input
have changed. | -| only_deleted | string | Return true when all files
provided using the files input
have been deleted. | -| other_deleted_files | string | Return list of deleted files
not listed in the files
input. | -| renamed_files | string | List of renamed files. | -| type_changed_files | string | List of files that had
type changes. | -| unknown_files | string | List of unknown files. | -| unmerged_files | string | List of unmerged files. | +| added_files | string | List of added files. | +| all_changed_and_modified_files | string | List of all changed files.
| +| all_modified_files | string | List of all copied modified
and added files. | +| any_changed | string | Return true only when any
files provided using the files
input have changed. | +| any_deleted | string | Return true only when any
files provided using the files
input have been deleted. | +| copied_files | string | List of copied files. | +| deleted_files | string | List of deleted files. | +| modified_files | string | List of modified files. | +| only_changed | string | Return true when all files
provided using the files input
have changed. | +| only_deleted | string | Return true when all files
provided using the files input
have been deleted. | +| other_deleted_files | string | Return list of deleted files
not listed in the files
input. | +| renamed_files | string | List of renamed files. | +| type_changed_files | string | List of files that had
type changes. | +| unknown_files | string | List of unknown files. | +| unmerged_files | string | List of unmerged files. |