mirror of
https://github.com/prymitive/karma
synced 2026-05-13 03:56:59 +00:00
fix(ci): fix failing ci actions
This commit is contained in:
committed by
Łukasz Mierzwa
parent
41a95e261b
commit
5c569ff857
2
.github/workflows/node-npm-audit.yml
vendored
2
.github/workflows/node-npm-audit.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
node-version: 16.13.0
|
||||
|
||||
- name: Regenerate package-lock.json
|
||||
run: cd ui && npm audit fix
|
||||
run: cd ui && npm audit fix --audit-level=none
|
||||
|
||||
- name: Rebuild react app
|
||||
run: make -C ui build
|
||||
|
||||
19
.github/workflows/scan.yml
vendored
19
.github/workflows/scan.yml
vendored
@@ -1,6 +1,12 @@
|
||||
name: Scan
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
schedule:
|
||||
- cron: "0 6 * * 4"
|
||||
|
||||
@@ -8,6 +14,10 @@ jobs:
|
||||
codeql:
|
||||
name: CodeQL
|
||||
runs-on: ubuntu-20.04
|
||||
permissions:
|
||||
security-events: write
|
||||
actions: read
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
@@ -38,11 +48,16 @@ jobs:
|
||||
|
||||
- name: Run the local Anchore scan action itself with GitHub Advanced Security code scanning integration enabled
|
||||
uses: anchore/scan-action@v3
|
||||
id: scan
|
||||
with:
|
||||
image: "localbuild/testimage:latest"
|
||||
acs-report-enable: true
|
||||
fail-build: false
|
||||
|
||||
- name: Upload Anchore Scan Report
|
||||
- name: Inspect action SARIF report
|
||||
run: cat ${{ steps.scan.outputs.sarif }}
|
||||
|
||||
- name: Upload Anchore scan SARIF report
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
sarif_file: ${{ steps.scan.outputs.sarif }}
|
||||
|
||||
Reference in New Issue
Block a user