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 # The branches below must be a subset of the branches above
branches: [main, stable] branches: [main, stable]
schedule: schedule:
- cron: '21 19 * * 4' - cron: "21 19 * * 4"
jobs: jobs:
analyze: analyze:
@@ -32,7 +32,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'javascript' ] language: ["javascript"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support # Learn more about CodeQL language support at https://git.io/codeql-language-support

View File

@@ -6,14 +6,13 @@ name: Node.js CI
on: on:
# Trigger the workflow on push or pull request, # Trigger the workflow on push or pull request,
push: push:
branches: [ master, stable ] branches: [main, stable]
pull_request: pull_request:
# These types of PRs # These types of PRs
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:

View File

@@ -15,7 +15,7 @@ on:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [main, stable] branches: [main, stable]
schedule: schedule:
- cron: '15 15 * * 5' - cron: "15 15 * * 5"
jobs: jobs:
njsscan: njsscan:
@@ -28,7 +28,7 @@ jobs:
id: njsscan id: njsscan
uses: ajinabraham/njsscan-action@7237412fdd36af517e2745077cedbf9d6900d711 uses: ajinabraham/njsscan-action@7237412fdd36af517e2745077cedbf9d6900d711
with: with:
args: '. --sarif --output results.sarif || true' args: ". --sarif --output results.sarif || true"
- name: Upload njsscan report - name: Upload njsscan report
uses: github/codeql-action/upload-sarif@v1 uses: github/codeql-action/upload-sarif@v1
with: with: