Skip to content

Commit

Permalink
apply to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
seven320 committed May 10, 2023
1 parent c07791b commit f92f5b6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
name: Linter
name: reviewdog
run-name: run Linter and comment to PR
on: [pull_request]
jobs:
Explore-GitHub-Actions:
linter_name:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3


# Install specific version black (this step is not required. default is "black[jupyter]")
- run: pip install black==23.1.0
- uses: reviewdog/action-black@v3
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
# Change reporter level if you need.
# GitHub Status Check won't become failure with a warning.
level: warning

0 comments on commit f92f5b6

Please sign in to comment.