@@ -62,7 +62,7 @@ See [action.yml](action.yml)
62
62
with:
63
63
# Path to the artifact serving as the subject of the attestation. Must
64
64
# specify exactly one of "subject-path" or "subject-digest". May contain a
65
- # glob pattern or list of paths (total subject count cannot exceed 2500 ).
65
+ # glob pattern or list of paths (total subject count cannot exceed 1024 ).
66
66
subject-path:
67
67
68
68
# SHA256 digest of the subject for the attestation. Must be in the form
@@ -93,26 +93,22 @@ See [action.yml](action.yml)
93
93
94
94
<!-- markdownlint-disable MD013 -->
95
95
96
- | Name | Description | Example |
97
- | ------------- | -------------------------------------------------------------- | ------------------------ |
98
- | `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestation.jsonl ` |
96
+ | Name | Description | Example |
97
+ | ------------- | -------------------------------------------------------------- | ----------------------- |
98
+ | `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestation.json ` |
99
99
100
100
<!-- markdownlint-enable MD013 -->
101
101
102
102
Attestations are saved in the JSON-serialized [Sigstore bundle][6] format.
103
103
104
- If multiple subjects are being attested at the same time, each attestation will
105
- be written to the output file on a separate line (using the [JSON Lines][7]
106
- format).
104
+ If multiple subjects are being attested at the same time, a single attestation
105
+ will be created with references to each of the supplied subjects.
107
106
108
107
# # Attestation Limits
109
108
110
109
# ## Subject Limits
111
110
112
- No more than 2500 subjects can be attested at the same time. Subjects will be
113
- processed in batches 50. After the initial group of 50, each subsequent batch
114
- will incur an exponentially increasing amount of delay (capped at 1 minute of
115
- delay per batch) to avoid overwhelming the attestation API.
111
+ No more than 1024 subjects can be attested at the same time.
116
112
117
113
# # Examples
118
114
@@ -148,8 +144,8 @@ jobs:
148
144
149
145
# ## Identify Multiple Subjects
150
146
151
- If you are generating multiple artifacts, you can generate a provenance
152
- attestation for each by using a wildcard in the `subject-path` input.
147
+ If you are generating multiple artifacts, you can attest all of them at the same
148
+ time by using a wildcard in the `subject-path` input.
153
149
154
150
` ` ` yaml
155
151
- uses: actions/attest-build-provenance@v1
@@ -245,7 +241,6 @@ jobs:
245
241
[5] : https://cli.github.com/manual/gh_attestation_verify
246
242
[6] :
247
243
https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto
248
- [7] : https://jsonlines.org/
249
244
[8] : https://github.com/actions/toolkit/tree/main/packages/glob#patterns
250
245
[9] :
251
246
https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
0 commit comments