Skip to content

Commit b2c973d

Browse files
authored
docs(compliance): update sample contract for slsa 1.2 latest version (#2598)
Signed-off-by: Victoria <[email protected]>
1 parent ba60911 commit b2c973d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/examples/contracts/slsa/source-code.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# code review requirements, and commit signing policies
44
schemaVersion: v1
55
policies:
6+
attestation:
7+
- ref: runner-automated
8+
with:
9+
runner: "GITHUB_ACTION" # or GITLAB_PIPELINE
610
materials:
711
- ref: commits-signed-required
812
with:
@@ -14,5 +18,5 @@ policyGroups:
1418
- ref: code-review
1519
with:
1620
branches: "main"
17-
# runner:
18-
# type: GITHUB_ACTION # or GITLAB_PIPELINE
21+
runner:
22+
type: GITHUB_ACTION # or GITLAB_PIPELINE

0 commit comments

Comments
 (0)