[Snyk] Security upgrade @npmcli/template-oss from 4.18.0 to 4.20.0 #928
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
# This file is automatically added by @npmcli/template-oss. Do not edit. | |
name: CodeQL | |
on: | |
push: | |
branches: | |
- latest | |
- release/v* | |
pull_request: | |
branches: | |
- latest | |
- release/v* | |
schedule: | |
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1 | |
- cron: "0 10 * * 1" | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Git User | |
run: | | |
git config --global user.email "npm-cli+bot@github.com" | |
git config --global user.name "npm CLI robot" | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: javascript | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |