Enable trivy and dependabot on 1.0 branch (#3046)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
111658a548
commit
976106c75f
4
.github/workflows/codeql.yaml
vendored
4
.github/workflows/codeql.yaml
vendored
@@ -2,9 +2,9 @@ name: "CodeQL Advanced"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
branches: [ "master", "1.0" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
branches: [ "master", "1.0" ]
|
||||
schedule:
|
||||
- cron: '15 18 * * 3'
|
||||
|
||||
|
||||
8
.github/workflows/vulnerability-scan.yaml
vendored
8
.github/workflows/vulnerability-scan.yaml
vendored
@@ -15,10 +15,14 @@ jobs:
|
||||
trivy-scan:
|
||||
# only on original eclipse-hawkbit/hawkbit repo or when manually triggered
|
||||
if: github.repository == 'eclipse-hawkbit/hawkbit' || github.event_name == 'workflow_dispatch'
|
||||
strategy:
|
||||
matrix:
|
||||
branch: [master, "1.0"]
|
||||
uses: ./.github/workflows/reusable_workflow_trivy-scan.yaml
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
# Enable Upload for both branches
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
upload: ${{ github.ref == 'refs/heads/master' }}
|
||||
ref: ${{ matrix.branch }}
|
||||
upload: true
|
||||
Reference in New Issue
Block a user