mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* chore: rename workflow file Signed-off-by: Sebastian Malton <sebastian@malton.name> * chore: Add concurrency rules for workflows - test - Electronegativity - linter Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name>
32 lines
687 B
YAML
32 lines
687 B
YAML
name: Electronegativity
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
jobs:
|
|
build_job:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "16"
|
|
|
|
- uses: doyensec/electronegativity-action@v1.1
|
|
with:
|
|
input: packages/core/src/
|
|
electron-version: "19.0.4"
|
|
severity: medium
|
|
|
|
- name: Upload sarif
|
|
uses: github/codeql-action/upload-sarif@v1
|
|
with:
|
|
sarif_file: ../results
|