mirror of
https://github.com/offa/android-foss.git
synced 2026-04-22 13:16:19 +05:30
Enable CodeQL actions scan
This commit is contained in:
parent
23c66fb090
commit
4a7922a3f5
1 changed files with 29 additions and 0 deletions
29
.github/workflows/codeql.yml
vendored
Normal file
29
.github/workflows/codeql.yml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
name: codeql
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 5 * * 3'
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
codeql:
|
||||
runs-on: ubuntu-latest
|
||||
name: "CodeQL"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
- name: CodeQL Initialization
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: actions
|
||||
build-mode: none
|
||||
- name: CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
Loading…
Add table
Add a link
Reference in a new issue