Commit graph

9036 commits

Author SHA1 Message Date
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
Michael Hoffman
7325944040 More consistency 2025-02-02 20:31:12 -05:00
Michael Hoffman
0274999880 whitespace 2025-02-02 20:22:51 -05:00
Michael Hoffman
dcc1efa2bd clean up 2025-02-02 20:22:16 -05:00
Michael Hoffman
e14d7a4428 Merge branch 'trunk' into delete-autolinks 2025-02-02 20:10:07 -05:00
Michael Hoffman
fc5a6d1c3f Autolink delete http tests 2025-02-02 20:09:49 -05:00
Kynan Ware
fab84beb90
Merge pull request #9868 from nilvng/nil/fix-2329
feat: let user select pr to checkout
2025-02-01 14:08:18 -07:00
Michael Hoffman
5fea94ed9e Revert change to deps 2025-02-01 15:48:58 -05:00
Michael Hoffman
031b45de23 Merge branch 'trunk' into delete-autolinks 2025-02-01 15:46:29 -05:00
Michael Hoffman
e226a79dc5 Autolink delete tests 2025-02-01 15:46:09 -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
Kynan Ware
ca1f79ab01
Merge pull request #10331 from hoffm/remove-project-automation
Remove v1 project 'add to board' automation from prauto workflow
2025-02-01 11:03:15 -07:00
Michael Hoffman
908513f97f Initial working implementation 2025-02-01 11:09:00 -05: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
e428b9c66c Remove unused ErrNoGitRepository error 2025-01-31 14:49:38 -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
Azeem Sajid
0f16c870f3
Merge branch 'trunk' into 8386-update-release-doc-with-homebrew-info 2025-01-31 13:22:28 +05:00
Azeem Sajid
abe6d8dd30 [docs/releasing.md] Add basic info for homebrew update flow 2025-01-31 13:18:46 +05:00
Michael Hoffman
4c1a9215c9
Merge branch 'trunk' into remove-project-automation 2025-01-30 14:45:07 -05:00
Andy Feller
42c0cb038b
Merge pull request #10340 from cli/andyfeller-patch-1
Update deployment.yml
2025-01-30 13:14:09 -05: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
Andy Feller
df250a2b53
Update deployment.yml
Fix failing tag validate job
2025-01-30 13:07:21 -05:00
Michael Hoffman
d1b5facb48 Remove unused env var, PRID 2025-01-30 12:59:29 -05:00
Michael Hoffman
fca527af0e
Merge branch 'trunk' into remove-project-automation 2025-01-30 12:58:34 -05: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
9ef8406cf5
Merge pull request #10339 from malancas/attestation-verify-bundle-logic
Update `gh attestation` bundle fetching logic
2025-01-30 09:39:51 -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
Michael Hoffman
fdc1a5a13a
Merge branch 'trunk' into remove-project-automation 2025-01-30 09:56:27 -05:00