Upgrade next to v15 (#948) #3704
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OSSAR | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [main] | |
schedule: | |
- cron: '38 4 * * 1' | |
permissions: | |
contents: read | |
jobs: | |
OSSAR-Scan: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | |
runs-on: windows-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Run OSSAR | |
uses: github/ossar-action@v1 | |
id: ossar | |
- name: Upload OSSAR results | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: ${{ steps.ossar.outputs.sarifFile }} |