Skip to content

Commit

Permalink
Update rubocop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenner committed Sep 18, 2022
1 parent 8019e40 commit 0fc706a
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,10 @@ jobs:
bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
[[ $? -ne 2 ]]
"
- name: Check file existence
id: check_files
uses: andstor/file-existence-action@v1
with:
files: "rubocop.sarif"
- name: Upload Sarif output
if: steps.check_files.outputs.files_exists == 'true'
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: rubocop.sarif
# - name: Upload Sarif output
# if: steps.check_files.outputs.files_exists == 'true'
# uses: github/codeql-action/upload-sarif@v2
# with:
# # Path to SARIF file relative to the root of the repository
# sarif_file: rubocop.sarif

0 comments on commit 0fc706a

Please sign in to comment.