1
0
This repository has been archived on 2024-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
fist-attemp-bds-Maneger/.github/workflows/CodeQL and OSSAR.yml

44 lines
1012 B
YAML

name: "CodeQL and OSSAR"
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: "38 17 * * */3"
- cron: '36 21 * * 2'
jobs:
OSSAR-Scan:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run OSSAR
uses: github/ossar-action@v1
id: ossar
- name: Upload OSSAR results
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: ${{ steps.ossar.outputs.sarifFile }}
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ "javascript" ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1