Fix branch names. #70

Merged
LucidKobold merged 1 commits from ci into main 2022-08-12 18:34:13 -04:00
3 changed files with 44 additions and 45 deletions

View File

@@ -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

View File

@@ -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:

View File

@@ -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: