build(security): improve paths filter for CodeQL

This commit is contained in:
Cotes Chung 2024-02-01 01:07:46 +08:00
parent c13ec31163
commit f3ea7e9887
No known key found for this signature in database
GPG Key ID: 0D9E54843167A808
1 changed files with 2 additions and 2 deletions

View File

@ -2,9 +2,9 @@ name: "CodeQL"
on:
push:
paths: ["**.js"]
paths: ["_javascript/**.js"]
pull_request:
paths: ["**.js"]
paths: ["_javascript/**.js"]
schedule:
- cron: "0 0 * * 5"