Skip to content

Commit fce8814

Browse files
committed
set ref name
1 parent b2c8fc4 commit fce8814

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/security-default-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
-H "X-Api-Key: ${{ secrets.DEPENDENCY_TRACK_AUTOMATION_API_KEY }}" \
3434
-F "autoCreate=true" \
3535
-F "projectName=${{ github.repository }}" \
36-
-F "projectVersion=main" \
36+
-F "projectVersion=${{ github.ref_name }}" \
3737
-F "isLatest=$IS_LATEST" \
3838
-F "bom=@/tmp/trivy-cyclonedx.json"

0 commit comments

Comments
 (0)