mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-03 02:27:21 +09:00
36 lines
800 B
YAML
36 lines
800 B
YAML
name: 'CodeQL'
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: '43 1 * * 0'
|
|
|
|
jobs:
|
|
analyze:
|
|
name: 'Analyze'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
env:
|
|
language: 'javascript'
|
|
steps:
|
|
- name: 'Checkout Repository'
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
|
|
|
- name: 'Initialize CodeQL'
|
|
uses: github/codeql-action/init@19b2f06db2b6f5108140aeb04014ef02b648f789 # v4
|
|
with:
|
|
languages: ${{ env.language }}
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@19b2f06db2b6f5108140aeb04014ef02b648f789 # v4
|
|
with:
|
|
category: "/language:${{ env.language }}"
|