Commit Graph

7 Commits

Author SHA1 Message Date
Mustafacco
47ca830f87 Add option to suppress job summary
Fixes #126

Add option to suppress job summary and provide attestation URL output.

* Add `suppress-summary` input parameter to `action.yml` to control job summary suppression.
* Add `attestation-url` output parameter to `action.yml` to provide attestation URL.
* Import `getInput` and `setOutput` functions from `@actions/core` in `src/main.ts`.
* Check `suppress-summary` input value and conditionally skip summary generation in `src/main.ts`.
* Set `attestation-url` output with generated attestation URL in `src/main.ts`.
* Add `generateAttestationUrl` and `generateSummary` functions in `src/main.ts`.
* Update tests in `__tests__/main.test.ts` to cover `suppress-summary` input and verify `attestation-url` output.
* Add test for JSON output format for multiple attestations in `__tests__/main.test.ts`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/actions/attest-build-provenance/issues/126?shareId=XXXX-XXXX-XXXX-XXXX).
2024-10-18 13:13:48 +03:00
Brian DeHamer
d58ddf9f24
dynamic construction of oidc issuer (#195)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-08-09 07:42:36 -07:00
Brian DeHamer
46e4ff8b82
bump @actions/attest from 1.2.1 to 1.3.0 (#114)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-06-12 13:55:10 -07:00
Brian DeHamer
810042e79b
bump @actions/attest from 1.0.0 to 1.1.0 (#33)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2024-03-29 08:47:10 -07:00
Eugene
9b4b35feaa
unit test (#13)
* test

* updated
2024-02-29 17:04:03 -08:00
ejahnGithub
381fca5703 init attest build provenance 2024-02-22 08:29:05 -08:00
Brian DeHamer
1a4323c55b
Initial commit 2024-02-20 11:26:39 -08:00