Skip to content

Commit

Permalink
Merge pull request #8 from 75efb6/75efb6-patch-1
Browse files Browse the repository at this point in the history
75efb6 patch 1
  • Loading branch information
75efb6 authored Jan 7, 2025
2 parents f1d94a7 + 9f11209 commit a7ff353
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: black-action
on: [push, pull_request]
name: black-action-push
on: push
jobs:
linter_name:
name: runner / black
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/black_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: black-action-pr
on: pull_request
jobs:
linter_name:
name: runner / black
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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:
tool_name: blackfmt

0 comments on commit a7ff353

Please sign in to comment.