Skip to content

Commit

Permalink
docs: notes for matrix and required permissions
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Zantow <kzantow@gmail.com>
  • Loading branch information
kzantow committed May 23, 2024
1 parent 07e5b3a commit 94b949f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,20 @@ use the `artifact-name` parameter:
artifact-name: sbom.spdx
```

> [!IMPORTANT]
> If using this action within a **matrix build**, you must specify a unique `artifact-name`
> based on matrix parameters or the artifact upload will fail due to duplicate names. See
> an [example here](.github/workflows/test.yml#L36).
## Permissions

This action needs the following permissions:

```
contents: write # for sbom-action artifact uploads
actions: read # for sbom-action attaching release assets
```

## Configuration

### anchore/sbom-action
Expand Down

0 comments on commit 94b949f

Please sign in to comment.