Skip to content

Commit ed3a1ca

Browse files
Use relative path for vulnerability_scan instead of self-reference SHA
Avoids the circular dependency where the self-reference SHA always points to a commit before the current changes. Since the repo is already checked out at $working_dir/uid2-shared-actions, we can reference the action via a local path. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 133685b commit ed3a1ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/shared-build-and-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
path: ${{ inputs.working_dir }}/target/site/jacoco/*
7373

7474
- name: Vulnerability Scan
75-
uses: IABTechLab/uid2-shared-actions/actions/vulnerability_scan@83defcc6516d8965a7807af3152c0b83f0b755ff # v3
75+
uses: ./${{ inputs.working_dir }}/uid2-shared-actions/actions/vulnerability_scan
7676
with:
7777
scan_severity: HIGH,CRITICAL
7878
failure_severity: ${{ inputs.vulnerability_severity }}

0 commit comments

Comments
 (0)