miniflux/.github/workflows/codeql-analysis.yml

40 lines
756 B
YAML
Raw Normal View History

2022-01-20 05:37:48 +01:00
name: "CodeQL"
permissions: read-all
2022-01-20 05:37:48 +01:00
on:
push:
2022-08-12 06:17:38 +02:00
branches: [ main ]
2022-01-20 05:37:48 +01:00
pull_request:
# The branches below must be a subset of the branches above
2022-08-12 06:17:38 +02:00
branches: [ main ]
2022-01-20 05:37:48 +01:00
schedule:
- cron: '45 22 * * 3'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go', 'javascript' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
2022-01-20 05:37:48 +01:00
- name: Initialize CodeQL
2022-08-09 07:40:41 +02:00
uses: github/codeql-action/init@v2
2022-01-20 05:37:48 +01:00
- name: Autobuild
2022-08-09 07:40:41 +02:00
uses: github/codeql-action/autobuild@v2
2022-01-20 05:37:48 +01:00
- name: Perform CodeQL Analysis
2022-08-09 07:40:41 +02:00
uses: github/codeql-action/analyze@v2