Merge pull request #738 from akaihola/black-as-plugin #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: darker-black-isort | |
on: push # yamllint disable-line rule:truthy | |
jobs: | |
reformat-modified: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Reformat code using own GitHub action straight from the repository | |
uses: ./ | |
with: | |
options: --check --diff --color --isort | |
src: action release_tools setup.py src/darker | |
revision: origin/master... | |
version: "@${{ github.ref_name }}" |