fix: 修复缓存问题 (#406) #590
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CodeQL | |
on: | |
push: | |
paths: | |
- "**.js" | |
- "!scripts/test/*.js" | |
- .github/workflows/CodeQL.yaml | |
pull_request: | |
paths: | |
- "**.js" | |
- "!scripts/test/*.js" | |
- .github/workflows/CodeQL.yaml | |
merge_group: | |
workflow_dispatch: | |
schedule: | |
- cron: 15 23 * * * # Every 07:15 CST | |
permissions: | |
actions: read | |
checks: write | |
contents: write | |
pull-requests: write | |
security-events: write | |
statuses: write | |
jobs: | |
CodeQL: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
show-progress: false | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: javascript | |
queries: +security-and-quality | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 |