Fix branch names. #70
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@@ -18,7 +18,7 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main, stable]
|
||||
schedule:
|
||||
- cron: '21 19 * * 4'
|
||||
- cron: "21 19 * * 4"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'javascript' ]
|
||||
language: ["javascript"]
|
||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||
# Learn more about CodeQL language support at https://git.io/codeql-language-support
|
||||
|
||||
|
||||
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -6,14 +6,13 @@ name: Node.js CI
|
||||
on:
|
||||
# Trigger the workflow on push or pull request,
|
||||
push:
|
||||
branches: [ master, stable ]
|
||||
branches: [main, stable]
|
||||
pull_request:
|
||||
# These types of PRs
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
|
||||
4
.github/workflows/njsscan-analysis.yml
vendored
4
.github/workflows/njsscan-analysis.yml
vendored
@@ -15,7 +15,7 @@ on:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [main, stable]
|
||||
schedule:
|
||||
- cron: '15 15 * * 5'
|
||||
- cron: "15 15 * * 5"
|
||||
|
||||
jobs:
|
||||
njsscan:
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
id: njsscan
|
||||
uses: ajinabraham/njsscan-action@7237412fdd36af517e2745077cedbf9d6900d711
|
||||
with:
|
||||
args: '. --sarif --output results.sarif || true'
|
||||
args: ". --sarif --output results.sarif || true"
|
||||
- name: Upload njsscan report
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user