Skip to content

Commit

Permalink
add fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
HikaruEgashira authored Feb 15, 2025
1 parent ec57d2e commit 058ab87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/scan-sisakulint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: "sisakulint"
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
run_sisakulint:
Expand All @@ -15,7 +17,10 @@ jobs:
with:
sisakulint_version: 0.0.9
- name: Run sisakulint
run: sisakulint -format "{{sarif .}}" > sisakulint.sarif || true
run: sisakulint -fix on -format "{{sarif .}}" > sisakulint.sarif || true
- name: Commit fix
if: ${{ github.event == "pull_request" }}
uses: suzuki-shunsuke/commit-action@main
- name: Upload SARIF results
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down

0 comments on commit 058ab87

Please sign in to comment.