Skip to content

CodeQL

CodeQL #361

# This file is automatically added by @npmcli/template-oss. Do not edit.
name: CodeQL
on:
push:
branches:
- main
- latest
pull_request:
branches:
- main
- latest
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@v3
- name: Setup Git User
run: |
git config --global user.email "[email protected]"
git config --global user.name "H4ad CLI robot"
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: [javascript, typescript]

Check failure on line 36 in .github/workflows/codeql-analysis.yml

View workflow run for this annotation

GitHub Actions / CodeQL

Invalid workflow file

The workflow is not valid. .github/workflows/codeql-analysis.yml (Line: 36, Col: 22): A sequence was not expected
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2