Commit graph

4461 commits

Author SHA1 Message Date
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
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
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
Kynan Ware
026672e79e
Merge branch 'trunk' into nil/fix-2329 2025-02-01 12:37:44 -07:00
Kynan Ware
88e744bafb
Merge pull request #10332 from iamazeem/10260-gh-api-notifications-slurp-flag
[gh api] Fix mutual exclusion messages of `--slurp` flag
2025-02-01 12:36:26 -07:00
Kynan Ware
850627bc37
Merge pull request #10335 from iamazeem/9067-gh-issue-list-improve-help-text
[gh issue/pr list] Improve help text
2025-02-01 11:08:32 -07:00
nilvng
42c9d244f7 remove duplicated Prompter type 2025-02-01 11:45:37 +11:00
nilvng
7311b5cdd1 revert isEqualSet to private 2025-02-01 11:45:37 +11:00
nilvng
59031c645e Revert color changes
This reverts commit 36eaf14857.
2025-02-01 11:45:37 +11:00
Tyler McGoffin
d10fbbfaea
Merge pull request #10354 from cli/jtmcg/fix-10352-not-in-repo-error
Hotfix: `gh pr view` fails with provided URL
2025-01-31 15:07:49 -08:00
Tyler McGoffin
877871f1e0 Address PR comments 2025-01-31 14:55:24 -08:00
Tyler McGoffin
601cf88852 Handle error from ParsePRRefs when the selector is provided 2025-01-31 14:40:54 -08:00
Tyler McGoffin
fa5325aec9 Add comment to status recognizing when we require a repo 2025-01-31 14:40:54 -08:00
Tyler McGoffin
058cb2c220 Refactor finder to work with URL selectors 2025-01-31 14:40:54 -08:00
Tyler McGoffin
29e57ee8e7 Add tests for using the pr Finder outside of repo
This includes an acceptance test for `gh pr view` and a unit test on
`TestFind`
2025-01-31 14:22:02 -08:00
Meredith Lancaster
fc2f18c896 consolidate tests around getBundle func when possible
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 11:12:58 -07:00
Meredith Lancaster
795263524d change permanent backoff error condition
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 11:11:41 -07:00
Azeem Sajid
77ce9c7da2
Merge branch 'trunk' into 10301-gh-project-iteration-id 2025-01-30 22:24:53 +05:00
Meredith Lancaster
e9f7761423 dont retry when parsing fails
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:56:06 -07:00
Meredith Lancaster
dcb182b453 Merge branch 'trunk' into attestation-bundle-fetch-improvements 2025-01-30 09:53:27 -07:00
Meredith Lancaster
70ae9f39ef update tests to account for logic flip
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:26:41 -07:00
Meredith Lancaster
ddb8855198 flip bundle fetching logic
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-01-30 09:12:48 -07:00
Azeem Sajid
029a5a577b Update test 2025-01-30 19:23:07 +05:00
Azeem Sajid
978d3fce87 [gh issue/pr list] Improve help text 2025-01-30 13:05:18 +05:00
Azeem Sajid
3bc7b7e7e2 [gh extensions install] Improve help text and error message 2025-01-30 11:40:42 +05:00
Azeem Sajid
9e14550f11 [gh api] Fix mutual exclusion messages of --slurp flag 2025-01-30 10:21:18 +05:00
Michael Hoffman
d609c40404
Merge branch 'trunk' into view-autolinks 2025-01-29 16:43:23 -05:00
Michael Hoffman
b23cf6e8d7 Update formatting for autolink output 2025-01-29 16:24:47 -05:00