Merge pull request #428 from SaintAngeLs/paralax_transition #114
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 Analysis | |
on: | |
push: | |
branches: [ "main", "dev" ] | |
pull_request: | |
branches: [ "main", "dev" ] | |
schedule: | |
- cron: '41 6 * * 2' | |
permissions: | |
contents: read | |
jobs: | |
OSSAR-Scan: | |
permissions: | |
contents: read | |
security-events: write | |
actions: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Remove global.json (if exists) | |
run: | | |
if [ -f "global.json" ]; then | |
rm global.json | |
fi | |
- name: Run OSSAR | |
uses: github/ossar-action@v1 | |
id: ossar | |
- name: Upload OSSAR results | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.ossar.outputs.sarifFile }} |