Populate CODEOWENRS, baseline package.json and baseline cortex.yaml #912
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: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
schedule: | |
# NOTE: This is the template default. | |
# "At 04:41 on Tuesday." | |
- cron: '41 4 * * 2' | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- id: setup-node | |
name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
cache: yarn | |
- name: Install dependencies | |
run: yarn --frozen-lockfile | |
- name: Run build | |
run: yarn build | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
# `javascript` tests both JavaScript code and TypeScript code | |
languages: 'javascript' | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |