Skip to content

Commit

Permalink
Merge pull request #212 from zLukas/main
Browse files Browse the repository at this point in the history
update security scans reporting, parametrize branch to scan
  • Loading branch information
zLukas authored Sep 30, 2024
2 parents 4d87a2d + 4610e15 commit 68ca438
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
branch:
description: 'branch to run scans on'
default: 'main'
type: string

env:
BUILD_TYPE: Release
Expand Down Expand Up @@ -31,6 +36,8 @@ jobs:

- name: 'Checkout repository'
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ inputs.branch }}

- name: 'Install dependencies'
run: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
branches:
- main
pull_request:
workflow_dispatch:
inputs:
branch:
description: 'branch to run scans on'
default: 'main'
type: string
permissions:
contents: read

Expand All @@ -18,6 +24,8 @@ jobs:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ inputs.branch }}
scan:
runs-on: ubuntu-22.04
needs: checkout_code
Expand Down

0 comments on commit 68ca438

Please sign in to comment.