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
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
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
Andy Feller
5f54201fc5
Ensure item iteration field is populated in tests
...
Updating tests to ensure `ProjectV2ItemFieldIterationValue` actually populates `IterationId` appropriately.
2025-02-03 15:25:15 -05:00
Tim Rogers
430e5abe25
Drop accidental help text change
2025-02-03 12:04:42 +00:00
Tim Rogers
6c21ab2284
Error when gh repo rename is used with a new repo name that contains an owner
...
`gh repo rename` can only rename a repo, but not change its owner
(i.e. transfer it).
As flagged in #10034 , at the moment, the CLI behaves like it can do
this, and produces weird results.
If I ask to rename my repo to `polyseam/frappe-containers`:
```bash
gh repo rename polyseam/frappe-containers
```
..the preview suggests that it will do the right thing:
```
? Rename polyseam/containers to polyseam/frappe-containers? Yes
```
...but the repo gets renamed wrongly:
```
✓ Renamed repository polyseam/polyseam-frappe-containers
```
This adds an upfront validation that looks for a slash and tells
you that the command can't transfer a repo.
Fixes #10034 .
2025-02-03 11:49:21 +00:00
Azeem Sajid
e144168dde
[gh repo edit] Allow setting commit title defaults
2025-02-03 15:26:05 +05:00
Michael Hoffman
d5adafd3fb
Rename staggler
2025-02-02 21:46:56 -05:00
Michael Hoffman
a1ae68b4f4
Formatting
2025-02-02 21:37:34 -05:00
Michael Hoffman
021557912d
AuoLink -> Autolink
2025-02-02 21:34:03 -05:00
Michael Hoffman
0b3efede35
Use http constants
2025-02-02 21:12:49 -05:00
Michael Hoffman
f907ad9f97
refac and some spacing in output
2025-02-02 20:50:37 -05:00