kopia lustrzana https://github.com/wagtail/wagtail
36 wiersze
928 B
YAML
36 wiersze
928 B
YAML
name: 'CodeQL'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 8 * * 3'
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
analyze:
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
security-events: write # to upload SARIF results (github/codeql-action/analyze)
|
|
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
|
|
language: ['javascript', 'python']
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|