Skip to content

Commit

Permalink
add artifact attestations guide to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sarisia committed May 3, 2024
1 parent 1dae4b4 commit 2ca43fa
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,24 @@ If you have any issues, please let us know in Discussions or Issues.
As [Guilded](https://guilded.gg) supports [Discord Webhooks API](https://discord.com/developers/docs/resources/webhook#execute-webhook),
you can use Guilded webhook endpoint in the same way as Discord webhook.

### Verifying Artifact Attestations

This action is shipped with [Artifact attestations](https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds#about-verifying-artifact-attestations)
for `action.yml` and `lib/index.js`.

You can verify these files with [GitHub CLI](https://cli.github.com/):

```
$ gh attestation verify --repo sarisia/actions-status-discord lib/index.js
Loaded digest sha256:4cc20dac6053670b29ff3ae8b9ddeafeed73fe79e5ab31fd8e34b6acd44d30c3 for file://lib/index.js
Loaded 1 attestation from GitHub API
✓ Verification succeeded!
sha256:4cc20dac6053670b29ff3ae8b9ddeafeed73fe79e5ab31fd8e34b6acd44d30c3 was attested by:
REPO PREDICATE_TYPE WORKFLOW
sarisia/actions-status-discord https://slsa.dev/provenance/v1 .github/workflows/release.yml@refs/tags/v.1.14.3-pre.0
```

## FAQ

### `Error: Webhook response: 400: {"sender":["This field is required"]}`
Expand Down

0 comments on commit 2ca43fa

Please sign in to comment.