Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions actions/shared_publish_setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ runs:
java-version: ${{ inputs.java_version }}

- name: Checkout full history on the commit that triggered the workflow
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: ${{ inputs.git_tag_or_hash == ''}}
with:
# git-restore-mtime requires full git history. The default fetch-depth value (1) creates a shallow checkout.
fetch-depth: 0

- name: Checkout full history at tag ${{ inputs.git_tag_or_hash }}
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: ${{ inputs.git_tag_or_hash != ''}}
with:
ref: ${{ inputs.git_tag_or_hash }}
Expand Down
10 changes: 5 additions & 5 deletions actions/vulnerability_scan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ runs:
using: "composite"
steps:
- name: Checkout repo
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: IABTechLab/uid2-shared-actions
ref: v3
Expand All @@ -39,7 +39,7 @@ runs:
rm -rf tmp-vulnerability-scan

- name: Setup oras
uses: oras-project/setup-oras@22ce207df3b08e061f537244349aac6ae1d214f6 # v1
uses: oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0

- name: Get current date
id: date
Expand All @@ -48,7 +48,7 @@ runs:

- name: Check Cache for Databases
id: cache-check
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ github.workspace }}/.cache/trivy
key: cache-trivy-${{ steps.date.outputs.date }}
Expand All @@ -72,7 +72,7 @@ runs:
rm javadb.tar.gz

- name: Cache DBs
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
if: ${{ !steps.cache-check.outputs.cache-hit }}
with:
path: ${{ github.workspace }}/.cache/trivy
Expand All @@ -96,7 +96,7 @@ runs:
TRIVY_SKIP_JAVA_DB_UPDATE: true

- name: Upload Trivy scan report to GitHub Security tab
uses: github/codeql-action/upload-sarif@5c8a8a642e79153f5d047b10ec1cba1d1cc65699 # v3
uses: github/codeql-action/upload-sarif@87557b9c84dde89fdd9b10e88954ac2f4248e463 # v4.36.1
if: inputs.publish_vulnerabilities == 'true'
with:
sarif_file: 'trivy-results.sarif'
Expand Down
Loading