Skip to content

Commit

Permalink
Adjusted sarif upload to use the analysis action instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-waltermire committed Sep 26, 2023
1 parent 2e91fac commit fce4f68
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,8 @@ jobs:
- name: Perform CodeQL Analysis
if: github.event_name == 'push'
uses: github/codeql-action/analyze@6a28655e3dcb49cb0840ea372fd6d17733edd8a4
- name: Upload CodeQL SARIF file
uses: github/codeql-action/upload-sarif@a09933a12a80f87b87005513f0abb1494c27a716
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_name == 'develop'
with:
token: ${{ secrets.COMMIT_TOKEN }}
upload: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref_name == 'develop' && 'always' || 'never' }}
- name: Test Website
run: |
# this needs to be run as a second build to ensure source is fully generated by the previous step
Expand Down

0 comments on commit fce4f68

Please sign in to comment.