2021-01-15 20:21:49 +08:00
|
|
|
name: 'Code scanning'
|
2020-08-21 19:42:07 +08:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-12-08 21:14:09 +08:00
|
|
|
branches: [main]
|
2020-08-21 19:42:07 +08:00
|
|
|
pull_request:
|
2022-12-08 21:14:09 +08:00
|
|
|
branches: [main]
|
2020-08-21 19:42:07 +08:00
|
|
|
schedule:
|
2022-12-08 20:27:13 +08:00
|
|
|
- cron: '23 19 * * 0'
|
2020-08-21 19:42:07 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
CodeQL-Build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Checkout repository
|
2022-06-21 01:43:45 +08:00
|
|
|
uses: actions/checkout@v3
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Initialize CodeQL
|
2022-06-21 01:50:11 +08:00
|
|
|
uses: github/codeql-action/init@v2
|
2022-12-08 20:27:13 +08:00
|
|
|
with:
|
2022-12-08 21:14:09 +08:00
|
|
|
languages: 'javascript'
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Autobuild
|
2022-06-21 01:50:11 +08:00
|
|
|
uses: github/codeql-action/autobuild@v2
|
2020-08-21 19:42:07 +08:00
|
|
|
|
2021-01-15 20:21:49 +08:00
|
|
|
- name: Perform CodeQL Analysis
|
2022-06-21 01:50:11 +08:00
|
|
|
uses: github/codeql-action/analyze@v2
|