azuki-bar/Check MySQL Tables Collation
This composite action tests table collation. Succeed when collation in all tables equal `expect_collation` input.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jun 30, 2023
- License
- Apache 2.0
Pinned Snippet
uses: azuki-bar/mysql-collations-checker-action@ab6d75003e04b977bcffd2fa27aa0be3dbc66bed # 0.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| table_definitions | Specify path to table definitions. accept asterisk to expand path. | yes | — |
| expect_collation | Specify accepted collation value. eg) `utf8mb4_general_ci`. | yes | — |
| mysql_version | Specify MySQL Version. if not specified, use latest. Workflows accepts https://hub.docker.com/_/mysql tags value like `8.0.33-debian`. | no | latest |
| ignore_tables | Specify ignored table name. | no | "" |
Outputs
| name | description |
|---|---|
| invalid_tables | return invalid tables list formatted in JSON. JSON has 2 fields. `name` and `collation`. eg) [{name: "table1", "collation": "utf8mb4_general_ci"}] |