Files
directus/.github/workflows/codeql-analysis.yml
Pascal Jufer 3e8d965642 Clean-up GitHub workflows (#14945)
* Clean-up GitHub workflows

* Remove checkout step from 'prepare' action instead
2022-08-08 10:34:39 -04:00

40 lines
783 B
YAML

name: CodeQL Analysis
on:
workflow_call:
schedule:
- cron: '42 23 * * 5'
env:
NODE_OPTIONS: --max_old_space_size=6144
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: true
matrix:
language:
- javascript
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Prepare
uses: ./.github/actions/prepare
with:
build: false
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL analysis
uses: github/codeql-action/analyze@v2