Allow input ref parameter in order to see a branch in the reports (#3060)
Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
committed by
GitHub
parent
0fff8c2660
commit
394048a583
@@ -116,36 +116,42 @@ jobs:
|
|||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-ddi-server.sarif'
|
sarif_file: 'scans/hawkbit-ddi-server.sarif'
|
||||||
category: "Container Images (hawkbit-ddi-server)"
|
category: "Container Images (hawkbit-ddi-server) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
- name: Upload Docker image scan results to GitHub Security tab hawkbit-dmf-server
|
- name: Upload Docker image scan results to GitHub Security tab hawkbit-dmf-server
|
||||||
if: ${{ inputs.upload }}
|
if: ${{ inputs.upload }}
|
||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-dmf-server.sarif'
|
sarif_file: 'scans/hawkbit-dmf-server.sarif'
|
||||||
category: "Container Images (hawkbit-dmf-server)"
|
category: "Container Images (hawkbit-dmf-server) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
- name: Upload Docker image scan results to GitHub Security tab hawkbit-mgmt-server
|
- name: Upload Docker image scan results to GitHub Security tab hawkbit-mgmt-server
|
||||||
if: ${{ inputs.upload }}
|
if: ${{ inputs.upload }}
|
||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-mgmt-server.sarif'
|
sarif_file: 'scans/hawkbit-mgmt-server.sarif'
|
||||||
category: "Container Images (hawkbit-mgmt-server)"
|
category: "Container Images (hawkbit-mgmt-server) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
- name: Upload Docker image scan results to GitHub Security tab hawkbit-ui
|
- name: Upload Docker image scan results to GitHub Security tab hawkbit-ui
|
||||||
if: ${{ inputs.upload }}
|
if: ${{ inputs.upload }}
|
||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-ui.sarif'
|
sarif_file: 'scans/hawkbit-ui.sarif'
|
||||||
category: "Container Images (hawkbit-ui)"
|
category: "Container Images (hawkbit-ui) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Upload Docker image scan results to GitHub Security tab hawkbit-update-server
|
- name: Upload Docker image scan results to GitHub Security tab hawkbit-update-server
|
||||||
if: ${{ inputs.upload }}
|
if: ${{ inputs.upload }}
|
||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-update-server.sarif'
|
sarif_file: 'scans/hawkbit-update-server.sarif'
|
||||||
category: "Container Images (hawkbit-update-server)"
|
category: "Container Images (hawkbit-update-server) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
|
|
||||||
- name: Upload Docker image scan results to GitHub Security tab hawkbit-repository-jpa-init
|
- name: Upload Docker image scan results to GitHub Security tab hawkbit-repository-jpa-init
|
||||||
if: ${{ inputs.upload }}
|
if: ${{ inputs.upload }}
|
||||||
uses: github/codeql-action/upload-sarif@v4.35.1
|
uses: github/codeql-action/upload-sarif@v4.35.1
|
||||||
with:
|
with:
|
||||||
sarif_file: 'scans/hawkbit-repository-jpa-init.sarif'
|
sarif_file: 'scans/hawkbit-repository-jpa-init.sarif'
|
||||||
category: "Container Images (hawkbit-repository-jpa-init)"
|
category: "Container Images (hawkbit-repository-jpa-init) [${{ inputs.ref }}]"
|
||||||
|
ref: refs/heads/${{ inputs.ref }}
|
||||||
Reference in New Issue
Block a user