Commit graph

8128 commits

Author SHA1 Message Date
Kynan Ware
e390874fef
Merge pull request #9799 from cli/kw/attestation-use-new-github-previews-terminology
Use new GitHub previews terminology in attestation commands' help docs
2024-10-22 13:20:33 -06:00
Kynan Ware
fd56fec110
Merge pull request #9800 from cli/kw/update-docs-with-github-preview-terminology
Use new GitHub preview terms in `working-with-us.md`
2024-10-22 12:40:14 -06:00
bagtoad
abb2772696 Use new GitHub preview terms in working-with-us.md
Update the "working with us" docs to align with new GitHub previews terminology, replacing `beta` with `public preview`.

https://github.blog/changelog/2024-10-18-new-terminology-for-github-previews/
2024-10-22 10:56:39 -06:00
bagtoad
04add8d68f Use new GitHub previews terminology in attestation
Update attestations commands to align with new GitHub previews terminology, replacing `beta` with `public preview`.

https://github.blog/changelog/2024-10-18-new-terminology-for-github-previews/
2024-10-22 10:50:00 -06:00
Andy Feller
34f1b50acc
Merge pull request #9784 from cli/andyfeller/testscripts-variable
Add acceptance tests for `variable` commands
2024-10-22 10:04:21 -04:00
William Martin
ad7c29dc5c
Merge pull request #9790 from tsukasaI/feature/add-archived-timestamp
Add archivedAt json field to repo view and list
2024-10-22 14:03:58 +02:00
William Martin
a923e33421 Test json flags for repo view and list 2024-10-22 13:38:51 +02:00
Andy Feller
6192ac74df Update variable testscripts based on secret
This commit refactors a bit of the variable testscripts given the changes in the secret testscripts efforts, removing potentially unnecessary assertions and making these look more similar to other testscripts.
2024-10-21 16:02:26 -04:00
Kynan Ware
6dab689718
Merge pull request #9794 from cli/kw/cli-9699-validate-local-extension-installs
Prevent local extension installations with invalid names and conflicts with core commands and other extensions
2024-10-21 13:40:09 -06:00
Andy Feller
fa03013a23 Merge branch 'trunk' into andyfeller/testscripts-variable 2024-10-21 15:38:56 -04:00
Andy Feller
1886d1b44b
Merge pull request #9782 from cli/andyfeller/testscripts-secret
Add acceptance tests for `secret` commands
2024-10-21 15:33:31 -04:00
bagtoad
daec7a0e0e Check extOwner for no value instead 2024-10-21 13:28:37 -06:00
bagtoad
35aa8521c4 Fix tests for invalid extension name 2024-10-21 12:47:14 -06:00
bagtoad
cc32f33583 Refactor to remove code duplication 2024-10-21 12:37:27 -06:00
Phill MV
857854d1b3
Merge pull request #9742 from cli/phillmv/fail-verification-if-no-attestations
`LiveSigstoreVerifier.Verify` should error if no attestations are present
2024-10-21 13:01:37 -04:00
Phill MV
a8b3f050ac
Merge branch 'trunk' into phillmv/fail-verification-if-no-attestations 2024-10-21 12:49:41 -04:00
Andy Feller
b3c0c39f47 Merge branch 'trunk' into andyfeller/testscripts-secret 2024-10-21 12:49:09 -04:00
Kynan Ware
d2a9d1c90b
Merge pull request #9786 from cli/kw/github-cli-590-add-search-acceptance-tests
Add acceptance tests for `search` command
2024-10-21 10:34:19 -06:00
Kynan Ware
e39a78ea29
Merge branch 'trunk' into kw/github-cli-590-add-search-acceptance-tests 2024-10-21 10:23:00 -06:00
bagtoad
1736de2cd1 Fix single quote not expanding vars 2024-10-21 10:20:37 -06:00
Andy Feller
acf62dacf2 Address @williammartin PR feedback 2024-10-21 11:53:05 -04:00
bagtoad
6923fb5cc8 add validation for local ext install 2024-10-20 16:37:40 -06:00
tsukasa-ino
cce398662f
Merge branch 'trunk' into feature/add-archived-timestamp 2024-10-19 11:26:44 +09:00
tsukasa inoue
b33e2f92a7
feat: add ArchivedAt field to Repository struct 2024-10-19 11:11:24 +09:00
Andy Feller
f4f161c096 Refactor gh secret testscript
This is a bit of a refactor based on the work done in `gh workflow` as a better approach to verify secrets created are what we expect.

Changes made:

1. Removed `env2lower` as it wasn't being used in testscripts
2. Added `replace` custom command to deal with testing organization workflow secrets
3. Refactored secret testscripts to create and run workflow that tests the value of the secret provided
4. Minor reordering of test `acceptance` test functions as appending to the end is confusing and adds conflicts
5. Removed stdout TTY assertions
2024-10-18 15:56:03 -04:00
Tyler McGoffin
92ff87c6b7
Merge pull request #9783 from cli/jtmcg/testscripts-repo
Add acceptance tests for `repo` commands
2024-10-18 09:55:16 -07:00
Tyler McGoffin
ba324d85eb Wrap true in '' in repo-fork-sync 2024-10-18 09:37:30 -07:00
Tyler McGoffin
3f4a2aea2f Rename acceptance test directory from repos to repo 2024-10-18 09:37:30 -07:00
Tyler McGoffin
6c3ad5011b Remove unnecessary flags from repo-delete testscript 2024-10-18 09:31:02 -07:00
Tyler McGoffin
25f2956e67 Replace LICENSE
Makefile
README.md
acceptance
api
bin
build
cmd
context
docs
git
go.mod
go.sum
internal
pkg
script
share
test
utils commands with
2024-10-18 09:31:02 -07:00
Tyler McGoffin
ee0d9ab901 Wrap boolean strings in '' so it is clear they are strings 2024-10-18 09:31:02 -07:00
Tyler McGoffin
a5a77532df Remove unnecessary gh auth setup-git steps 2024-10-18 09:31:02 -07:00
Tyler McGoffin
e7549c93f9 Cleanup some inconsistencies and improve collapse some functionality 2024-10-18 09:31:02 -07:00
Tyler McGoffin
95ed11d9ba Add acceptance tests for repo deploy-key add/list/delete 2024-10-18 09:31:02 -07:00
Tyler McGoffin
96fa8534da Add acceptance tests for repo-fork and repo-sync 2024-10-18 09:31:02 -07:00
Tyler McGoffin
7508131356 Add acceptance test for repo-set-default 2024-10-18 09:31:02 -07:00
Tyler McGoffin
c572edbfd7 Add acceptance test for repo-edit 2024-10-18 09:31:02 -07:00
Tyler McGoffin
fb6f7733c4 Add acceptance tests for repo-list and repo-rename 2024-10-18 09:31:02 -07:00
Tyler McGoffin
0c632d7c4e Acceptance testing for repo-archive and repo-unarchive 2024-10-18 09:31:02 -07:00
Tyler McGoffin
60e20ee531 Add acceptance test for repo-clone 2024-10-18 09:31:02 -07:00
Tyler McGoffin
83cbdc4f36 Added acceptance test for repo-delete 2024-10-18 09:31:02 -07:00
Tyler McGoffin
18428671c3 Added test function for repos and repo-create test 2024-10-18 09:31:02 -07:00
bagtoad
b361cf4495 Implement acceptance tests for search commands 2024-10-18 10:17:34 -06:00
Andy Feller
1571a113c2 Merge branch 'trunk' into andyfeller/testscripts-secret 2024-10-18 09:46:25 -04:00
Tyler McGoffin
1313612245
Merge pull request #9701 from cli/jtmcg/9698
Add handling of empty titles for Issues and PRs
2024-10-17 14:57:57 -07:00
Tyler McGoffin
14acbe00a9 Remove . from test case for TestTitleSurvey 2024-10-17 14:45:35 -07:00
Tyler McGoffin
13ab02729b Clean up Title Survey empty title message code 2024-10-17 14:40:17 -07:00
Andy Feller
e8842f861f Add missing test to trigger acceptance tests 2024-10-17 16:03:37 -04:00
Andy Feller
b4be8cbf9d Add acceptance tests for gh variable 2024-10-17 16:03:37 -04:00
Andy Feller
e335113706 Minor polish / consistency 2024-10-17 16:02:39 -04:00