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:
Stanislav Trailov
2026-05-11 10:50:19 +03:00
committed by GitHub
parent 0fff8c2660
commit 394048a583

View File

@@ -116,36 +116,42 @@ jobs:
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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
if: ${{ inputs.upload }}
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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
if: ${{ inputs.upload }}
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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
if: ${{ inputs.upload }}
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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
if: ${{ inputs.upload }}
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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
if: ${{ inputs.upload }}
uses: github/codeql-action/upload-sarif@v4.35.1
with:
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 }}