feat: add header for workflow call
This commit is contained in:
11
.github/workflows/codeql.yaml
vendored
11
.github/workflows/codeql.yaml
vendored
@@ -6,13 +6,20 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
schedule:
|
||||
- cron: '0 7 * */2 *'
|
||||
- cron: "0 7 * */2 *"
|
||||
# │ │ │ │ │
|
||||
# │ │ │ │ └─── day of the week (0 - 6 or SUN-SAT)
|
||||
# │ │ │ └────── month (1 - 12 or JAN-DEC)
|
||||
# │ │ └───────── day of the month (1 - 31)
|
||||
# │ └─────────── hour (0 - 23)
|
||||
# └───────────── minute (0 - 59)
|
||||
workflow_call:
|
||||
inputs:
|
||||
node-version:
|
||||
description: "Node.js version"
|
||||
required: true
|
||||
default: "lts/*"
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
analyze-code-ql:
|
||||
@@ -27,7 +34,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: ['TypeScript']
|
||||
language: ["TypeScript"]
|
||||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user