cli/pkg
Meredith Lancaster cd5562f5ac
Add signer-repo and signer-workflow flags to gh attestation verify (#9137)
* add signer-repo and signer-workflow flags

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add check for SignerRepo option

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add helper function and comment for clarity

Signed-off-by: Meredith Lancaster <malancas@github.com>

* update flag comment

Signed-off-by: Meredith Lancaster <malancas@github.com>

* reference correct field

Signed-off-by: Meredith Lancaster <malancas@github.com>

* move function to more relevant file

Signed-off-by: Meredith Lancaster <malancas@github.com>

* Update pkg/cmd/attestation/verify/verify.go

Co-authored-by: Zach Steindler <steiza@github.com>

* Update pkg/cmd/attestation/verify/verify.go

Co-authored-by: Zach Steindler <steiza@github.com>

* make all reusable workflow flags mutually exclusive

Signed-off-by: Meredith Lancaster <malancas@github.com>

* accept signer workflow without host

Signed-off-by: Meredith Lancaster <malancas@github.com>

* support client optionally providing host with signer workflow flag

Signed-off-by: Meredith Lancaster <malancas@github.com>

* comment

Signed-off-by: Meredith Lancaster <malancas@github.com>

* add tests for parsing signer workflow

Signed-off-by: Meredith Lancaster <malancas@github.com>

---------

Signed-off-by: Meredith Lancaster <malancas@github.com>
Co-authored-by: Zach Steindler <steiza@github.com>
2024-05-30 07:40:55 -06:00
..
cmd Add signer-repo and signer-workflow flags to gh attestation verify (#9137) 2024-05-30 07:40:55 -06:00
cmdutil Fix repo fork to use remote protocol if none configured 2024-05-10 10:48:36 +02:00
extensions gh extension install not give an error if extension already installed and a clear message (#8211) 2023-10-19 15:22:21 +02:00
findsh go fmt 2021-12-02 16:12:24 +01:00
githubtemplate Do not allow issue and pr templates to be symlinks (#7756) 2023-07-26 11:50:37 -07:00
httpmock Cleanup release create around new --notes-from-tag flag (#8016) 2023-09-19 08:26:52 +00:00
iostreams Add headers to all tables (#8157) 2023-10-20 11:20:02 +02:00
jsoncolor Wrap JSON arrays, objects in array with --slurp 2024-04-04 01:26:05 -07:00
markdown Correct some typos 2023-04-21 03:51:31 +02:00
option Add further docs to Option type 2024-05-10 11:05:59 +02:00
search Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
set Add GH_HOST to hosts list if it has corresponding auth token (#5087) 2022-01-29 07:37:24 +00:00
ssh Even better config support 2022-07-22 11:03:14 -05:00
surveyext feat: Fallback to notepad on Windows 2022-08-18 17:05:14 -04:00