1
0
Fork 0
miniflux/.github/workflows/codeql-analysis.yml

43 lines
859 B
YAML
Raw Normal View History

2022-01-19 20:37:48 -08:00
name: "CodeQL"
permissions: read-all
2022-01-19 20:37:48 -08:00
on:
push:
2022-08-11 21:17:38 -07:00
branches: [ main ]
2022-01-19 20:37:48 -08:00
pull_request:
# The branches below must be a subset of the branches above
2022-08-11 21:17:38 -07:00
branches: [ main ]
2022-01-19 20:37:48 -08: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@v3
2022-01-19 20:37:48 -08:00
- name: Initialize CodeQL
2022-08-08 22:40:41 -07:00
uses: github/codeql-action/init@v2
2022-01-19 20:37:48 -08:00
with:
languages: ${{ matrix.language }}
2022-08-08 22:40:41 -07:00
config-file: ./.github/codeql/config.yml
2022-01-19 20:37:48 -08:00
- name: Autobuild
2022-08-08 22:40:41 -07:00
uses: github/codeql-action/autobuild@v2
2022-01-19 20:37:48 -08:00
- name: Perform CodeQL Analysis
2022-08-08 22:40:41 -07:00
uses: github/codeql-action/analyze@v2