Commit Graph
3 Commits
Author SHA1 Message Date
Meredith Lancaster 20eb46ce7a Validate repository org-ownership before storage record creation (#328)
* check if the repository is owned by org before attempting storage record creation

Signed-off-by: Meredith Lancaster <[email protected]>

* linter

Signed-off-by: Meredith Lancaster <[email protected]>

* generate dist

Signed-off-by: Meredith Lancaster <[email protected]>

* add fixtures for repoOwnerIsOrg function

Signed-off-by: Meredith Lancaster <[email protected]>

* formatter

Signed-off-by: Meredith Lancaster <[email protected]>

* clean up fixtures

Signed-off-by: Meredith Lancaster <[email protected]>

* more clean up

Signed-off-by: Meredith Lancaster <[email protected]>

* fix function declaration

Signed-off-by: Meredith Lancaster <[email protected]>

* clean up fixtures

Signed-off-by: Meredith Lancaster <[email protected]>

* add test when repo is not owned by org

Signed-off-by: Meredith Lancaster <[email protected]>

* add more expect statements, clean up mock calls

Signed-off-by: Meredith Lancaster <[email protected]>

* formatter

Signed-off-by: Meredith Lancaster <[email protected]>

* add more spy expect statements

Signed-off-by: Meredith Lancaster <[email protected]>

---------

Signed-off-by: Meredith Lancaster <[email protected]>
2026-01-26 08:31:21 -08:00
Meredith Lancaster 7433fa7e7a Update undici development dependency to the latest version (#332)
* update undici dep to the latest version

Signed-off-by: Meredith Lancaster <[email protected]>

* regenerate dist

Signed-off-by: Meredith Lancaster <[email protected]>

* update to v7.18.2

Signed-off-by: Meredith Lancaster <[email protected]>

---------

Signed-off-by: Meredith Lancaster <[email protected]>
2026-01-20 16:21:19 -08:00
Meredith LancasterandCopilot 7667f588f2 Create Artifact Metadata Storage Record on registry push (#313)
* first pass at creating storage record

Signed-off-by: Meredith Lancaster <[email protected]>

* include storage record param in action config

Signed-off-by: Meredith Lancaster <[email protected]>

* use latest actions/attest version

Signed-off-by: Meredith Lancaster <[email protected]>

* update storage record params

Signed-off-by: Meredith Lancaster <[email protected]>

* include storage record id in result

Signed-off-by: Meredith Lancaster <[email protected]>

* regenerate dist

Signed-off-by: Meredith Lancaster <[email protected]>

* add documentation on storage records

Signed-off-by: Meredith Lancaster <[email protected]>

* log storage record creation

Signed-off-by: Meredith Lancaster <[email protected]>

* add storage record output

Signed-off-by: Meredith Lancaster <[email protected]>

* add new param

Signed-off-by: Meredith Lancaster <[email protected]>

* add storage record id output

Signed-off-by: Meredith Lancaster <[email protected]>

* fix linter errors

Signed-off-by: Meredith Lancaster <[email protected]>

* return all storage record ids

Signed-off-by: Meredith Lancaster <[email protected]>

* bump minor version

Signed-off-by: Meredith Lancaster <[email protected]>

* use expect string match function

Signed-off-by: Meredith Lancaster <[email protected]>

* add try catch block for storage record creation

Signed-off-by: Meredith Lancaster <[email protected]>

* fix table column spacing

Signed-off-by: Meredith Lancaster <[email protected]>

* check for protocol

Signed-off-by: Meredith Lancaster <[email protected]>

* check for artifact url protocol

Signed-off-by: Meredith Lancaster <[email protected]>

* only fill registry_url for now

Signed-off-by: Meredith Lancaster <[email protected]>

* cleanup protocol handling

Signed-off-by: Meredith Lancaster <[email protected]>

* regenerate dist

Signed-off-by: Meredith Lancaster <[email protected]>

* handle subject name correctly

Signed-off-by: Meredith Lancaster <[email protected]>

* move test

Signed-off-by: Meredith Lancaster <[email protected]>

* add back assert statements

Signed-off-by: Meredith Lancaster <[email protected]>

* add back output assert statements

Signed-off-by: Meredith Lancaster <[email protected]>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <[email protected]>

* use url for subject name parsing

Signed-off-by: Meredith Lancaster <[email protected]>

* add missing test setpu

Signed-off-by: Meredith Lancaster <[email protected]>

* fix storage record fail test

Signed-off-by: Meredith Lancaster <[email protected]>

* regenerate dist

Signed-off-by: Meredith Lancaster <[email protected]>

---------

Signed-off-by: Meredith Lancaster <[email protected]>
Co-authored-by: Copilot <[email protected]>
2025-12-18 11:30:45 -08:00