From df25aa70901329b8909eba7c7f3c1ee334bbb8fc Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Wed, 20 Nov 2024 15:25:45 -0800 Subject: [PATCH] readme updates for v2 release Signed-off-by: Brian DeHamer --- README.md | 8 ++++---- action.yml | 4 ++-- src/main.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b772f5d8..b9d4e3a1 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ See [action.yml](action.yml) with: # Path to the artifact serving as the subject of the attestation. Must # specify exactly one of "subject-path" or "subject-digest". May contain - # a glob pattern or list of paths (total subject count cannot exceed 2500). + # a glob pattern or list of paths (total subject count cannot exceed 1024). subject-path: # SHA256 digest of the subject for the attestation. Must be in the form @@ -111,7 +111,7 @@ See [action.yml](action.yml) | Name | Description | Example | | ------------- | -------------------------------------------------------------- | ------------------------ | -| `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestation.jsonl` | +| `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestation.json` | @@ -166,8 +166,8 @@ jobs: ### Identify Multiple Subjects -If you are generating multiple artifacts, you can generate an attestation for -each by using a wildcard in the `subject-path` input. +If you are generating multiple artifacts, you can attest all of them at the +same time by using a wildcard in the `subject-path` input. ```yaml - uses: actions/attest@v1 diff --git a/action.yml b/action.yml index 423e877d..e24451e7 100644 --- a/action.yml +++ b/action.yml @@ -10,7 +10,7 @@ inputs: description: > Path to the artifact serving as the subject of the attestation. Must specify exactly one of "subject-path" or "subject-digest". May contain a - glob pattern or list of paths (total subject count cannot exceed 2500). + glob pattern or list of paths (total subject count cannot exceed 1024). required: false subject-digest: description: > @@ -60,7 +60,7 @@ inputs: required: false outputs: bundle-path: - description: 'The path to the file containing the attestation bundle(s).' + description: 'The path to the file containing the attestation bundle.' runs: using: node20 diff --git a/src/main.ts b/src/main.ts index a5bbecc1..b77839fe 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,7 +15,7 @@ import { import type { Subject } from '@actions/attest' -const ATTESTATION_FILE_NAME = 'attestation.jsonl' +const ATTESTATION_FILE_NAME = 'attestation.json' export type RunInputs = SubjectInputs & PredicateInputs & {