.github/workflows/rubocop.yml in briard-2.7.1 vs .github/workflows/rubocop.yml in briard-2.8.0
- old
+ new
@@ -40,11 +40,11 @@
bash -c "
bundle exec rubocop --require code_scanning --format CodeScanning::SarifFormatter -o rubocop.sarif
[[ $? -ne 2 ]]
"
- # - 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