Files
FOSSBilling/.github/workflows/codeql.yml
T
Adam Daley 755a33050d Streamline CI workflows (#1229)
* Move PHP build and test steps to reusable workflows

* Update Spellcheck CI workflow

* Ignore erroneous PHPStan error in SentryHelper

* Update workflows to run on renovate branches
2023-11-29 00:56:25 +00:00

36 lines
671 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@v4
- name: 'Initialize CodeQL'
uses: github/codeql-action/init@v2
with:
languages: ${{ env.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{ env.language }}"