mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-09 05:24:58 +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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
- name: 'Initialize CodeQL'
|
|
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4
|
|
with:
|
|
languages: ${{ env.language }}
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4
|
|
with:
|
|
category: "/language:${{ env.language }}"
|