From 9038abce3043b343bb4cc4aa8f3a21a7c8e61d0f Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 21 Sep 2022 15:06:01 +0000 Subject: [PATCH] Updating GHES workflows --- ci/{jekyll.yml => jekyll-docker.yml} | 0 ...ies.json => jekyll-docker.properties.json} | 0 code-scanning/codeql.yml | 2 + code-scanning/eslint.yml | 49 ------------------- .../properties/eslint.properties.json | 11 ----- icons/eslint.svg | 1 - 6 files changed, 2 insertions(+), 61 deletions(-) rename ci/{jekyll.yml => jekyll-docker.yml} (100%) rename ci/properties/{jekyll.properties.json => jekyll-docker.properties.json} (100%) delete mode 100644 code-scanning/eslint.yml delete mode 100644 code-scanning/properties/eslint.properties.json delete mode 100644 icons/eslint.svg diff --git a/ci/jekyll.yml b/ci/jekyll-docker.yml similarity index 100% rename from ci/jekyll.yml rename to ci/jekyll-docker.yml diff --git a/ci/properties/jekyll.properties.json b/ci/properties/jekyll-docker.properties.json similarity index 100% rename from ci/properties/jekyll.properties.json rename to ci/properties/jekyll-docker.properties.json diff --git a/code-scanning/codeql.yml b/code-scanning/codeql.yml index a113b59..00ffcdb 100644 --- a/code-scanning/codeql.yml +++ b/code-scanning/codeql.yml @@ -70,3 +70,5 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" diff --git a/code-scanning/eslint.yml b/code-scanning/eslint.yml deleted file mode 100644 index 9067a7d..0000000 --- a/code-scanning/eslint.yml +++ /dev/null @@ -1,49 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# ESLint is a tool for identifying and reporting on patterns -# found in ECMAScript/JavaScript code. -# More details at https://github.com/eslint/eslint -# and https://eslint.org - -name: ESLint - -on: - push: - branches: [ $default-branch, $protected-branches ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ $default-branch ] - schedule: - - cron: $cron-weekly - -jobs: - eslint: - name: Run eslint scanning - runs-on: ubuntu-latest - permissions: - contents: read - security-events: write - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Install ESLint - run: | - npm install eslint@8.10.0 - npm install @microsoft/eslint-formatter-sarif@2.1.7 - - - name: Run ESLint - run: npx eslint . - --config .eslintrc.js - --ext .js,.jsx,.ts,.tsx - --format @microsoft/eslint-formatter-sarif - --output-file eslint-results.sarif - continue-on-error: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: eslint-results.sarif - wait-for-processing: true \ No newline at end of file diff --git a/code-scanning/properties/eslint.properties.json b/code-scanning/properties/eslint.properties.json deleted file mode 100644 index a84646a..0000000 --- a/code-scanning/properties/eslint.properties.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "name": "ESLint", - "description": "A tool for identifying and reporting the problems found in ECMAScript/JavaScript code.", - "iconName": "eslint", - "categories": [ - "Code Scanning", - "JavaScript", - "EcmaScript", - "TypeScript" - ] -} \ No newline at end of file diff --git a/icons/eslint.svg b/icons/eslint.svg deleted file mode 100644 index 23964aa..0000000 --- a/icons/eslint.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file