Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Awei2020 authored Jul 18, 2023
1 parent aac1654 commit b25c4dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,10 @@ runs:
shell: bash
- run: wget https://s.murphysec.com/github_actions_format.py && python3 github_actions_format.py
shell: bash
- run: if [ -f "results.sarif" ]; then echo "file_exists=true" >> $GITHUB_ENV; else echo "file_exists=false" >> $GITHUB_ENV; fi
shell: bash
- name: Upload SARIF file
if: env.file_exists == 'true'
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif

0 comments on commit b25c4dd

Please sign in to comment.