cli/pkg/cmd
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
..
actions Additional formatting changes 2023-12-01 09:08:51 -05:00
alias Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
api Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
attestation Add signer-repo and signer-workflow flags to gh attestation verify (#9137) 2024-05-30 07:40:55 -06:00
auth Remove TODO and add comment on LoginFlow tests 2024-05-17 14:51:02 +02:00
browse Update pkg/cmd/browse/browse.go 2024-01-05 10:53:15 -04:00
cache Fix typos 2024-05-09 20:15:27 +00:00
codespace Fix linting error 2024-01-30 13:24:23 -08:00
completion Bump github.com/spf13/cobra from v1.4.0 to v1.5.0 (#6196) 2022-09-06 09:43:40 +04:00
config Remove unnecessary config list variable 2024-05-10 10:49:07 +02:00
extension Removed unused param flagDryRun from upgradeFunc 2024-05-16 15:41:47 -04:00
factory Fix repo fork to use remote protocol if none configured 2024-05-10 10:48:36 +02:00
gist Fix repo fork to use remote protocol if none configured 2024-05-10 10:48:36 +02:00
gpg-key Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
issue Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
label Avoid parsing create or update label http response 2024-01-31 18:55:52 +01:00
org Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
pr Add comment to pr diff regex 2024-05-23 11:59:56 +02:00
project Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
release Merge pull request #8987 from kuzdogan/patch-1 2024-05-10 13:03:01 -04:00
repo Fix repo fork to use remote protocol if none configured 2024-05-10 10:48:36 +02:00
root update generated content for man pages and website 2024-05-17 09:30:53 -04:00
ruleset Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
run fix: rename the Attempts field to Attempt; expose in gh run view and gh run ls (#8905) 2024-05-22 14:39:13 +02:00
search Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
secret Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
ssh-key Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
status Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
variable Add a gh variable get FOO command (#9106) 2024-05-23 17:11:53 +02:00
version Fix --version flag printing to stdout 2022-05-24 16:21:13 +02:00
workflow Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00