Skip to content

Commit

Permalink
Intergrate fix with comments
Browse files Browse the repository at this point in the history
Signed-off-by: Hollow Man <[email protected]>
  • Loading branch information
HollowMan6 committed May 1, 2023
1 parent 3bd836b commit ece0288
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/example-fix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:

steps:
- uses: actions/checkout@v3
if: github.event_name != 'pull_request_target'
with:
fetch-depth: 0
- uses: actions/checkout@v3
Expand All @@ -32,6 +33,13 @@ jobs:
files: ${{ steps.changed-files.outputs.all_changed_files }}
fixFiles: true
format: "sarif"
# Use HollowMan6/sarif4reviewdog to support SARIF format for reviewdog
- name: PR Suggester by SARIF file
if: github.event_name == 'pull_request_target'
uses: HollowMan6/[email protected]
with:
file: 'results.sarif'
level: warning
- uses: peter-evans/create-pull-request@v4
# Remember to allow GitHub Actions to create and approve pull requests
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#preventing-github-actions-from-creating-or-approving-pull-requests
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:

steps:
- uses: actions/checkout@v3
if: github.event_name != 'pull_request_target'
with:
fetch-depth: 0
- uses: actions/checkout@v3
Expand All @@ -77,6 +78,13 @@ jobs:
files: ${{ steps.changed-files.outputs.all_changed_files }}
fixFiles: true
format: "sarif"
# # Use HollowMan6/sarif4reviewdog to support SARIF format for reviewdog
# - name: PR Suggester by SARIF file
# if: github.event_name == 'pull_request_target'
# uses: HollowMan6/[email protected]
# with:
# file: 'results.sarif'
# level: warning
- uses: peter-evans/create-pull-request@v4
# Remember to allow GitHub Actions to create and approve pull requests
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#preventing-github-actions-from-creating-or-approving-pull-requests
Expand Down

0 comments on commit ece0288

Please sign in to comment.