33 lines
698 B
YAML
33 lines
698 B
YAML
|
|
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
|
||
|
|
name: "CodeQL: Schedule"
|
||
|
|
|
||
|
|
on:
|
||
|
|
schedule:
|
||
|
|
- cron: "0 6 * * 1"
|
||
|
|
|
||
|
|
jobs:
|
||
|
|
analyze:
|
||
|
|
name: Analyze
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
permissions:
|
||
|
|
actions: read
|
||
|
|
contents: read
|
||
|
|
security-events: write
|
||
|
|
|
||
|
|
steps:
|
||
|
|
- name: Checkout
|
||
|
|
uses: actions/checkout@v6
|
||
|
|
|
||
|
|
- name: Initialize CodeQL
|
||
|
|
uses: github/codeql-action/init@v4
|
||
|
|
with:
|
||
|
|
languages: go
|
||
|
|
|
||
|
|
- name: Autobuild
|
||
|
|
uses: github/codeql-action/autobuild@v4
|
||
|
|
|
||
|
|
- name: Perform CodeQL Analysis
|
||
|
|
uses: github/codeql-action/analyze@v4
|
||
|
|
with:
|
||
|
|
category: "/language:go"
|