Skip to content

Commit

Permalink
chore: enable github advanced security workflow
Browse files Browse the repository at this point in the history
This PR enable github advanced security workflow

Ticket: DO-8117
  • Loading branch information
KartikKSrivastava committed Nov 5, 2024
1 parent d78e595 commit d577e3b
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: "Advanced Security CodeQL Scan"

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
schedule:
- cron: "43 11 * * 5"

jobs:
analyze:
name: Analyze
runs-on: "ubuntu-latest-4-cores"
timeout-minutes: 30
permissions:
security-events: write
actions: read
contents: read

strategy:
fail-fast: false
matrix:
language: ["javascript-typescript"]

steps:
- name: Checkout repository
uses: actions/checkout@v4
continue-on-error: true
with:
ref: ${{ github.sha }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
continue-on-error: true
with:
languages: ${{ matrix.language }}
queries: security-extended,security-and-quality

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
continue-on-error: true
with:
category: "/language:${{matrix.language}}"

0 comments on commit d577e3b

Please sign in to comment.