fix(tools): fix syntax errors and test special branch

This commit is contained in:
Mrugesh Mohapatra
2020-08-09 01:41:56 +05:30
parent e242852bef
commit 6e16a50329
4 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
name: "CodeQL Scanning" name: CodeQL Scanning
on: on:
push: push:
@ -9,11 +9,11 @@ on:
jobs: jobs:
CodeQL-Build: CodeQL-Build:
name: CodeQL Build name: CodeQL Build
runs-on: ubuntu-latest runs-on: ubuntu-18.04
steps: steps:
- name: Checkout Source Files - name: Checkout Source Files
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
# We must fetch at least the immediate parents so that if this is # We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head. # a pull request then we can checkout the head.

View File

@ -4,6 +4,7 @@ on:
pull_request: pull_request:
branches: branches:
- master - master
jobs: jobs:
cypress-run: cypress-run:
name: Cypress Tests name: Cypress Tests

View File

@ -1,8 +1,9 @@
name: Lighthouse CI name: Lighthouse CI
on: on:
push: push:
# Treat the below branches as special case for working on workflows branches:
- actions-** # Treat the below branches as special case for working on workflows
- actions-**
schedule: schedule:
# run this Action every 14 days # run this Action every 14 days
- cron: '0 * */14 * *' - cron: '0 * */14 * *'
@ -11,7 +12,6 @@ on:
jobs: jobs:
lighthouseci: lighthouseci:
name: Lighthouse CI name: Lighthouse CI
runs-on: ubuntu-latest
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
services: services:
mongodb: mongodb:

View File

@ -8,7 +8,7 @@ on:
jobs: jobs:
lint: lint:
name: Lint name: Lint
runs-on: ubuntu-latest runs-on: ubuntu-18.04
strategy: strategy:
matrix: matrix: