Skip to content

Merge branch 'main' of https://github.com/Saypixel/TheChromatic #81

Merge branch 'main' of https://github.com/Saypixel/TheChromatic

Merge branch 'main' of https://github.com/Saypixel/TheChromatic #81

Workflow file for this run

name: black-action
on: [push, pull_request]
jobs:
linter_name:
name: runner / black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check files using the black formatter
uses: rickstaa/action-black@v1
id: action_black
with:
black_args: "."
- name: Annotate diff changes using reviewdog
if: steps.action_black.outputs.is_formatted == 'true'
uses: reviewdog/action-suggester@v1
with:
github_token: ${{ secrets.github_token }}
tool_name: blackfmt