Skip to content
This repository was archived by the owner on Mar 19, 2026. It is now read-only.

Commit c1ecf72

Browse files
committed
Allow SHA-pinned workflow identities in cosign verify
1 parent 887af3d commit c1ecf72

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/cosign-verify/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ inputs:
1313
certificate_identity_regexp:
1414
description: Expected certificate identity regexp.
1515
required: false
16-
default: "^https://github.com/aicage/github-actions/.github/workflows/.*@refs/.*/.*$"
16+
default: "^https://github.com/aicage/github-actions/.github/workflows/.*@(?:refs/.*/.*|[0-9a-f]{40})$"
1717

1818
runs:
1919
using: composite

.github/actions/image-cosign-verify/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ inputs:
1515
certificate_identity_regexp:
1616
description: Expected certificate identity regexp.
1717
required: false
18-
default: "^https://github.com/aicage/github-actions/.github/workflows/.*@refs/.*/.*$"
18+
default: "^https://github.com/aicage/github-actions/.github/workflows/.*@(?:refs/.*/.*|[0-9a-f]{40})$"
1919

2020
runs:
2121
using: composite

0 commit comments

Comments
 (0)