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

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"