From 11e8e965fc80ca9cf677a83e61d4835057237704 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 9 Feb 2021 08:58:17 +0200 Subject: Update Actions --- .github/workflows/codeql.yml | 19 ++++++++++++++----- .github/workflows/test.yml | 6 ++++-- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 00bea3f..b514fed 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,22 +1,31 @@ -name: "Code Scanning - Action" +name: "CodeQL" on: push: + branches: + - master + - "!dependabot/**" + pull_request: + # The branches below must be a subset of the branches above + branches: + - master + schedule: + - cron: "0 0 * * 0" jobs: - CodeQL-Build: + analyze: + name: Analyze runs-on: ubuntu-latest - strategy: - fail-fast: false steps: - name: Checkout repository uses: actions/checkout@v2 + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1 with: - languages: javascript + languages: "javascript" - name: Autobuild uses: github/codeql-action/autobuild@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b78954f..3fe0ba2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,9 @@ name: Tests + on: [push, pull_request] + env: - CI: true + FORCE_COLOR: 2 jobs: run: @@ -18,7 +20,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v2 with: node-version: ${{ matrix.node }} -- cgit v1.2.3