Checks the semantic and syntactic quality of log messages in your code!
Based on check-log-quality tool.
By using a pipeline of two actions, we can identify poorly written log messages.
Here is how the configuration looks like:
- uses: actions/checkout@v2
- uses: aiops/check-log-quality-action@main
How it works:
- The first
actions/checkout@v2
action checkouts our code from the repo - Our own
aiops/check-log-quality-action
finds poorly written log messages and creates a report - Done!
Here's how our workflow looks like.
You can pass any options that are supported by check-log-quality
tool,
to do so, you can use options
key:
- uses: aiops/check-log-quality-action@main
with:
options: '-v src/'
You can also use the output produced by this action by default. Read more about outputs.
We took a lot of inspiration from misspell-fixer-action
. Thank you!