CyberChef/.github/workflows/codeql.yml

41 lines
852 B
YAML
Raw Normal View History

2021-02-10 19:37:46 +01:00
name: "CodeQL Analysis"
on:
2022-03-25 16:24:21 +01:00
workflow_dispatch:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
2023-03-13 19:03:33 +01:00
types: [synchronize, opened, reopened]
schedule:
- cron: '22 17 * * 5'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
2023-03-13 19:03:33 +01:00
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
steps:
- name: Checkout repository
2022-10-06 14:58:01 +02:00
uses: actions/checkout@v3
- name: Initialize CodeQL
2022-10-06 14:58:01 +02:00
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
2022-10-06 14:58:01 +02:00
uses: github/codeql-action/analyze@v2
2023-03-13 19:03:33 +01:00
with:
category: "/language:${{matrix.language}}"