X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/4d6a84a8294d035747404d00b88a925fc2640e1e..e5490e96232e301e9eed971984bb75f2f87475b0:/docs/github_actions.md diff --git a/docs/github_actions.md b/docs/github_actions.md index ac80c2f..bd46809 100644 --- a/docs/github_actions.md +++ b/docs/github_actions.md @@ -15,7 +15,13 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-python@v2 - - uses: psf/black@stable # the default is equivalent to `black . --diff --check`. - with: # (optional - override the default parameters). - args: ". --diff --check" + - uses: psf/black@stable + with: + black_args: ". --check" ``` + +## Inputs + +### `black_args` + +**optional**: Black input arguments. Defaults to `. --check --diff`.