azuki-bar/Check MySQL Tables Collation

This composite action tests table collation. Succeed when collation in all tables equal `expect_collation` input.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jun 30, 2023
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: azuki-bar/mysql-collations-checker-action@ab6d75003e04b977bcffd2fa27aa0be3dbc66bed # 0.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
table_definitionsSpecify path to table definitions. accept asterisk to expand path. yes
expect_collationSpecify accepted collation value. eg) `utf8mb4_general_ci`. yes
mysql_versionSpecify MySQL Version. if not specified, use latest. Workflows accepts https://hub.docker.com/_/mysql tags value like `8.0.33-debian`. nolatest
ignore_tablesSpecify ignored table name.no""
namedescription
invalid_tablesreturn invalid tables list formatted in JSON. JSON has 2 fields. `name` and `collation`. eg) [{name: "table1", "collation": "utf8mb4_general_ci"}]