Commit graph

4503 commits

Author SHA1 Message Date
William Martin
94b50caa19 Add test for item-edit --number 0 2025-02-19 12:39:14 +01:00
Aryan Bhosale
bf37ac9a69 Support setting project item number to 0 2025-02-19 12:31:17 +01:00
William Martin
1710f7dace
Merge pull request #10398 from iamazeem/6059-gh-release-create-only-new
[gh release create] Fail when there are no new commits since the last release
2025-02-19 12:13:55 +01:00
Azeem Sajid
8202471910 Wrap error 2025-02-19 16:03:24 +05:00
Azeem Sajid
960017a4f1 Rename flag to --fail-on-no-commits 2025-02-19 15:20:17 +05:00
Andy Feller
c69e88ef6b
Merge pull request #10458 from daviddl9/update-pr-create
update default upstream when forking repo during PR creation
2025-02-18 16:24:51 -05:00
Andy Feller
af99c9d495 Suggestions to enhance upstream default handling
This commit brings this code more into alignment with other places:

1. Using a local variable for upstream remote name instead of hardcoding everywhere
2. Raising error raised by setting default remote
3. Removing condition for displaying upstream default message
4. Bring message logic more inline with other places within function
2025-02-18 16:02:50 -05:00
Azeem Sajid
72364562dd Use API REST Client 2025-02-18 21:49:38 +05:00
William Martin
9c90e3aac9 Use subtests in attestation verification integration tests 2025-02-18 16:44:48 +01:00
David Livingston
5004ba2b91 update default upstream when forking repo
update default upstream when forking repo

remove unnecessary variable
2025-02-17 11:14:16 +08:00
Azeem Sajid
0fb87903e5 Update usage to lower-kebab-case 2025-02-14 22:12:22 +05:00
Tyler McGoffin
e047d4a611
Merge pull request #10429 from iamazeem/8404-standardize-urls
Standardize URLs
2025-02-13 10:49:18 -08:00
Tyler McGoffin
b4a90c15f9 Add missing <> in gh auth login docs 2025-02-13 10:38:21 -08:00
Cody Soyland
ad2cfe074f
Add mutex to fix race in attestation test client
Signed-off-by: Cody Soyland <codysoyland@github.com>
2025-02-13 10:18:30 -05:00
Azeem Sajid
f9428e7905 Update tests 2025-02-13 11:09:57 +05:00
Azeem Sajid
8b7fb231ec Remove trailing whitespace 2025-02-13 11:06:27 +05:00
Azeem Sajid
026f64ce6f Standardize URLs 2025-02-13 10:41:53 +05:00
Andy Feller
cdb44f8298
Merge pull request #10334 from iamazeem/9132-gh-repo-view-set-default
[gh repo view] Improve error message for forked repo
2025-02-12 09:55:13 -05:00
Fredrik Skogman
bf3a40aef3
Exit with error if no matching predicate type exists
Signed-off-by: Fredrik Skogman <kommendorkapten@github.com>
2025-02-11 09:07:51 +01:00
Azeem Sajid
eb44ec2d86 Update tests 2025-02-11 10:34:10 +05:00
Azeem Sajid
cdc7cae29c Address review comments 2025-02-11 09:35:16 +05:00
Azeem Sajid
49fd7a5756 [gh release create] Fail when there are no new commits since the most recent release 2025-02-08 18:20:43 +05:00
Michael Hoffman
8e2be7326b Improve http error test cases 2025-02-07 16:51:19 -05:00
Michael Hoffman
9eaaf44516 Handle non-TTY behavior 2025-02-07 16:27:04 -05:00
Michael Hoffman
8d0ec0a6b2
Merge branch 'trunk' into delete-autolinks 2025-02-07 15:49:48 -05:00
Tyler McGoffin
c1bc836afc
Merge pull request #10388 from jsoref/issue-9927
Do not try to parse bodies for HEAD requests
2025-02-07 11:53:26 -08:00
Josh Soref
023e347078 Do not try to parse bodies for HEAD requests
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-02-07 14:31:15 -05:00
Azeem Sajid
c8a1f8c699
Update pkg/cmd/pr/status/status.go
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-02-07 22:56:00 +05:00
Azeem Sajid
b2eec1cd5f Update language 2025-02-07 21:15:19 +05:00
Azeem Sajid
22bac00148 [gh pr status] Mention gh pr checks in the Long section 2025-02-07 21:13:17 +05:00
Andy Feller
9da292d3a6
Merge pull request #10374 from iamazeem/10342-gh-project-item-edit-number
[gh project item-edit] Fix number type
2025-02-06 17:00:17 -05:00
Tyler McGoffin
756ba75c9d
Merge pull request #10328 from iamazeem/9781-gh-workflow-run-default-branch-validation
[gh workflow run] Improve error handling for `--ref` flag
2025-02-06 10:03:47 -08:00
Michael Hoffman
7a5b49a4c4
Merge branch 'trunk' into delete-autolinks 2025-02-06 09:53:09 -05:00
Azeem Sajid
139271d85c
Merge branch 'trunk' into 10348-escape-pipe-in-long-description-for-website-manual 2025-02-06 11:45:06 +05:00
Tyler McGoffin
89ee37a8e4
Merge pull request #10333 from iamazeem/9759-gh-extension-install
[gh extensions install] Improve help text and error message
2025-02-05 16:14:58 -08:00
Tyler McGoffin
9255658ccc
Merge pull request #10364 from timrogers/timrogers/fix-10034
Error when `gh repo rename` is used with a new repo name that contains an owner
2025-02-05 15:32:20 -08:00
Azeem Sajid
277f27442c Update tests 2025-02-05 19:51:52 +05:00
Azeem Sajid
64b63f61f6 [gh project item-edit] Fix number type 2025-02-05 16:30:57 +05:00
Azeem Sajid
695f0be1a6
Merge branch 'trunk' into 9759-gh-extension-install 2025-02-05 12:21:47 +05:00
Azeem Sajid
50e7b00327 Address review comments 2025-02-05 12:21:29 +05:00
Azeem Sajid
91c75596ee Address review comments 2025-02-05 12:14:39 +05:00
Azeem Sajid
b95e6b2ae4 Revert breaking change 2025-02-05 11:22:54 +05:00
Azeem Sajid
5be832e2ae
Merge branch 'trunk' into 10348-escape-pipe-in-long-description-for-website-manual 2025-02-05 10:49:34 +05:00
Kynan Ware
ae20633ba6
Revert "[gh repo edit] Allow setting commit message defaults" 2025-02-04 13:55:37 -07:00
Kynan Ware
353799bc89
Merge pull request #10363 from iamazeem/8320-gh-edit-repo-merge-defaults
[gh repo edit] Allow setting commit message defaults
2025-02-04 13:34:54 -07:00
Michael Hoffman
e195b24cb1
Merge branch 'trunk' into delete-autolinks 2025-02-04 12:53:32 -05:00
Meredith Lancaster
4729ad2fde
Merge pull request #10233 from malancas/attestation-bundle-fetch-improvements
Attestation bundle fetch improvements
2025-02-04 07:54:07 -07:00
Azeem Sajid
a4b86bff77 Use HTML numeric code instead of escaping with slash 2025-02-04 18:48:56 +05:00
Azeem Sajid
bc46833495
Merge branch 'trunk' into 8320-gh-edit-repo-merge-defaults 2025-02-04 10:37:06 +05:00
Andy Feller
4f80400a89
Merge pull request #10329 from iamazeem/10301-gh-project-iteration-id
[gh project item-list] Add `iterationId` field in ProjectV2ItemFieldIterationValue
2025-02-03 15:37:46 -05:00