Skip to content

Commit

Permalink
chore: update test (#361)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jackton1 and github-actions[bot] committed Oct 30, 2022
1 parent 7b1a30e commit 5965f81
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 67 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Expand Up @@ -144,6 +144,7 @@ jobs:
with:
files: |
README.md
test/**
- name: Commit README changes
if: steps.verify-changed-files.outputs.files_changed == 'true'
Expand Down
47 changes: 24 additions & 23 deletions test/README-inputColumns.md
Expand Up @@ -4,14 +4,15 @@

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | DESCRIPTION |
|-----------|--------|-------------------------------------------------------------------------------------|
| base_sha | string | Specify a base commit SHA<br>used for comparing changes |
| files | string | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| separator | string | Split character for array output<br> |
| sha | string | Specify a current commit SHA<br>used for comparing changes |
| token | string | Github token or Repo Scoped<br>Personal Access Token |
| INPUT | TYPE | DESCRIPTION |
|----------------|--------|-------------------------------------------------------------------------------------|
| base_sha | string | Specify a base commit SHA<br>used for comparing changes |
| files | string | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| path_separator | string | Path separator |
| separator | string | Split character for array output<br> |
| sha | string | Specify a current commit SHA<br>used for comparing changes |
| token | string | Github token or Repo Scoped<br>Personal Access Token |

<!-- AUTO-DOC-INPUT:END -->

Expand All @@ -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.<br> |
| all_modified_files | string | List of all copied modified<br>and added files. |
| any_changed | string | Return true only when any<br>files provided using the files<br>input have changed. |
| any_deleted | string | Return true only when any<br>files provided using the files<br>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<br>provided using the files input<br>have changed. |
| only_deleted | string | Return true when all files<br>provided using the files input<br>have been deleted. |
| other_deleted_files | string | Return list of deleted files<br>not listed in the files<br>input. |
| renamed_files | string | List of renamed files. |
| type_changed_files | string | List of files that had<br>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.<br> |
| all_modified_files | string | List of all copied modified<br>and added files. |
| any_changed | string | Return true only when any<br>files provided using the files<br>input have changed. |
| any_deleted | string | Return true only when any<br>files provided using the files<br>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<br>provided using the files input<br>have changed. |
| only_deleted | string | Return true when all files<br>provided using the files input<br>have been deleted. |
| other_deleted_files | string | Return list of deleted files<br>not listed in the files<br>input. |
| renamed_files | string | List of renamed files. |
| type_changed_files | string | List of files that had<br>type changes. |
| unknown_files | string | List of unknown files. |
| unmerged_files | string | List of unmerged files. |

<!-- AUTO-DOC-OUTPUT:END -->
45 changes: 23 additions & 22 deletions test/README-outputColumns.md
Expand Up @@ -4,14 +4,15 @@

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|-----------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------|
| base_sha | string | false | | Specify a base commit SHA<br>used for comparing changes |
| files | string | false | `"README.md"`<br>`"README.md"`<br> | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | false | | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| separator | string | true | `"\|"` | Split character for array output<br> |
| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA<br>used for comparing changes |
| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped<br>Personal Access Token |
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------|
| base_sha | string | false | | Specify a base commit SHA<br>used for comparing changes |
| files | string | false | `"README.md"`<br>`"README.md"`<br> | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | false | | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| path_separator | string | false | `"\n"` | Path separator |
| separator | string | true | `"\|"` | Split character for array output<br> |
| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA<br>used for comparing changes |
| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped<br>Personal Access Token |

<!-- AUTO-DOC-INPUT:END -->

Expand All @@ -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 |

<!-- AUTO-DOC-OUTPUT:END -->
44 changes: 22 additions & 22 deletions test/README.md
Expand Up @@ -6,13 +6,13 @@

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|----------------|--------|----------|------------------------------------|-------------------------------------------------------------------------------------|
| base_sha | string | false | | Specify a base commit SHA<br>used for comparing changes |
| files | string | false | `"README.md"`<br>`"README.md"`<br> | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | false | | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| path_separator | string | false | `"\n"` | Path separator |
| separator | string | true | `"\|"` | Split character for array output<br> |
| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA<br>used for comparing changes |
| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped<br>Personal Access Token |
| base_sha | string | false | | Specify a base commit SHA<br>used for comparing changes |
| files | string | false | `"README.md"`<br>`"README.md"`<br> | Check for changes using only<br>this list of files (Defaults<br>to the entire repo) |
| path | string | false | | Specify a relative path under<br>$GITHUB_WORKSPACE to locate the repository<br> |
| path_separator | string | false | `"\n"` | Path separator |
| separator | string | true | `"\|"` | Split character for array output<br> |
| sha | string | true | `"${{ github.sha }}"` | Specify a current commit SHA<br>used for comparing changes |
| token | string | true | `"${{ github.token }}"` | Github token or Repo Scoped<br>Personal Access Token |

<!-- AUTO-DOC-INPUT:END -->

Expand All @@ -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.<br> |
| all_modified_files | string | List of all copied modified<br>and added files. |
| any_changed | string | Return true only when any<br>files provided using the files<br>input have changed. |
| any_deleted | string | Return true only when any<br>files provided using the files<br>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<br>provided using the files input<br>have changed. |
| only_deleted | string | Return true when all files<br>provided using the files input<br>have been deleted. |
| other_deleted_files | string | Return list of deleted files<br>not listed in the files<br>input. |
| renamed_files | string | List of renamed files. |
| type_changed_files | string | List of files that had<br>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.<br> |
| all_modified_files | string | List of all copied modified<br>and added files. |
| any_changed | string | Return true only when any<br>files provided using the files<br>input have changed. |
| any_deleted | string | Return true only when any<br>files provided using the files<br>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<br>provided using the files input<br>have changed. |
| only_deleted | string | Return true when all files<br>provided using the files input<br>have been deleted. |
| other_deleted_files | string | Return list of deleted files<br>not listed in the files<br>input. |
| renamed_files | string | List of renamed files. |
| type_changed_files | string | List of files that had<br>type changes. |
| unknown_files | string | List of unknown files. |
| unmerged_files | string | List of unmerged files. |

<!-- AUTO-DOC-OUTPUT:END -->

0 comments on commit 5965f81

Please sign in to comment.