William Martin
7eef7af23d
Reformat gh run view help
2025-07-04 17:25:59 +02:00
Babak K. Shandiz
0d8d330eb1
docs(run view): explain restrictions of fallback API calls
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 16:20:08 +01:00
Babak K. Shandiz
25ecbed620
test(run view): delete unused ZIP archive
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 14:13:08 +01:00
Babak K. Shandiz
53cf65e186
refactor(run view): remove Log field from DTO types
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 14:12:34 +01:00
Babak K. Shandiz
555b8f1bf9
test(run view): update tests
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 14:12:07 +01:00
Babak K. Shandiz
6d65904fee
refactor(run view): use API as fallback to fetch job logs
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 14:11:09 +01:00
Babak K. Shandiz
e0c7a328d2
test: add BinaryResponse helper function
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-04 14:09:09 +01:00
William Martin
502b64582d
Support --no-repos-selected on secret set
2025-07-03 17:02:28 +02:00
Babak K. Shandiz
8ab5e84a12
test: add test for ParseURL
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-03 10:21:55 +01:00
Babak K. Shandiz
b7fa5ea7a9
docs: explain PR URL parsing reason
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:41:07 +01:00
Babak K. Shandiz
dc51226ce2
test: improve test case to highlight host name override
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:21:24 +01:00
Babak K. Shandiz
58ed691a6c
test: remove references to AssignedActorsUsed field
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:19:13 +01:00
Babak K. Shandiz
2c86246a1a
test: verify providing a URL arg affects the base repo
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:18:38 +01:00
Babak K. Shandiz
b85dc94f84
refactor: select PR fields based on detected features
...
This change is almost a revert to what had already done in #10984 .
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:14:50 +01:00
Babak K. Shandiz
f65683784e
test: remove tests verifying assigne-related behaviour
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:12:58 +01:00
Babak K. Shandiz
12f4794151
fix: remove assignee-related intervention
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 11:12:16 +01:00
Babak K. Shandiz
23c9ff6d89
fix: expose ParseURL as a public func
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-07-01 10:49:18 +01:00
Andy Feller
e5913fe02f
Merge pull request #11038 from anuraaga/active-token-user
...
fix: get token for active user instead of blank if possible
2025-06-27 08:27:36 -04:00
Daniel Krzeminski
b31f38c946
Fix: gh pr create prioritize --title and --body over --fill when --web is present ( #10547 )
...
* fix: prioritize title and body over autofill for prs
* fix: prioritize title and body over autofill tests
* refactor: collapse state conditions
---------
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2025-06-24 12:54:43 +00:00
Eugene
98d7135ccc
Merge branch 'trunk' into eugene/release-verify
2025-06-20 06:50:04 -07:00
ejahnGithub
169b909015
improve the description for gh release verify cmd
2025-06-19 10:18:23 -04:00
jinjingroad
28d5de9d8e
chore: fix function name
...
Signed-off-by: jinjingroad <jinjingroad@sina.com>
2025-06-19 12:36:52 +08:00
Anuraag Agrawal
12a41333c3
Merge branch 'trunk' of https://github.com/cli/cli into active-token-user
2025-06-18 09:57:09 +09:00
Eugene
898bb42719
Merge branch 'trunk' into eugene/release-verify
2025-06-17 07:54:26 -07:00
William Martin
8deae3038a
Use active token stubbing on auth config
2025-06-17 15:53:13 +02:00
William Martin
49ed6c4681
Use t.Chdir in tests
2025-06-17 11:44:14 +02:00
William Martin
da9ed6a336
Quote filenames suggested at the end of worklow run
2025-06-16 18:02:47 +02:00
Eugene
8d0161fa5d
Merge branch 'trunk' into eugene/release-verify
2025-06-16 08:49:58 -07:00
Dylan Ancel
1eee56ec00
Add accurate context when run rerun fails ( #10774 )
...
* Add accurate context when run rerun fails
* Update tests to verify behaviour for API errors
Signed-off-by: Babak K. Shandiz <babakks@github.com>
* Use the new `httpmock.JSONErrorResponse` helper
Signed-off-by: Babak K. Shandiz <babakks@github.com>
---------
Signed-off-by: Babak K. Shandiz <babakks@github.com>
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2025-06-11 15:28:03 +01:00
William Martin
8baf5cc3e4
Merge pull request #11065 from cli/andyfeller/gh-pr-edit-assignees
...
Fix assignees being dropped from `gh pr edit`
2025-06-11 15:44:42 +02:00
Babak K. Shandiz
bde303dab2
test: fix test data const
...
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-06-10 13:57:31 +01:00
Brian DeHamer
53cae592f6
refactor to simplify implementation
...
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-06-05 10:35:21 -07:00
Kynan Ware
ed4b90104f
test(pr): Add tests for actor assignees
2025-06-03 14:30:19 +01:00
Andy Feller
a24d39ac87
Fix test, remove partial standalone test
2025-06-03 13:48:01 +01:00
Andy Feller
cde860be88
Iterate on pr edit problems with existing assignees
...
This commit is a handful of changes around `gh pr edit --add-assignee` behavior. Most notably, fixing a bug where the assigned actors weren't being dropped.
In addition to this, I was refactoring the testing setup to allow for individual test table scenarios could be contained.
2025-06-03 13:33:52 +01:00
Anuraag (Rag) Agrawal
85c86531b4
Merge branch 'trunk' into active-token-user
2025-06-03 09:43:15 +09:00
William Martin
c13f2f1232
Merge pull request #11057 from cli/wm/fix-pr-edit
...
Fix pr edit when URL is provided
2025-06-02 17:44:30 +02:00
Tim Rogers
9a8031151c
Document support for @copilot in gh [pr|issue] edit --add-assignee and --remove-assignee ( #11056 )
...
* Document support for `@copilot` in `gh [pr|issue] edit --add-assignee` and `--remove-assignee`
Following up on #10991 , this updates the help text for
`issue edit` and `pr edit`'s `--add-assignee` and
`--remove-assignee` options to mention that you can use
`@copilot`.
This is already mentioned in the command-level help text, but
not at the argument level, whereas the `@me` macro is.
* Apply suggestion from @babakks
Co-authored-by: Babak K. Shandiz <babakks@github.com>
* Apply suggestion from @babakks
Co-authored-by: Babak K. Shandiz <babakks@github.com>
---------
Co-authored-by: Babak K. Shandiz <babakks@github.com>
2025-06-02 16:29:35 +01:00
William Martin
793a7ff459
Fix pr edit when URL is provided
2025-06-02 15:07:55 +02:00
ejahnGithub
d7d9228609
use standardize color roles logic for the logging
2025-05-30 14:08:59 -07:00
ejahnGithub
5048d586dc
moved to shared lib
2025-05-30 13:46:54 -07:00
ejahnGithub
bf4b793eff
moved to shared lib
2025-05-30 13:43:07 -07:00
ejahnGithub
56f8877097
update the artifact and bundle for testing
2025-05-30 13:31:23 -07:00
ejahnGithub
df87b15598
clean the code
2025-05-30 12:53:19 -07:00
ejahnGithub
96db923f19
revert the workflow
2025-05-30 12:33:40 -07:00
ejahnGithub
4b1108734c
debug windows env
2025-05-30 12:18:23 -07:00
ejahnGithub
b423edff7b
debug windows env
2025-05-30 11:51:33 -07:00
ejahnGithub
53cb90aeca
debug windows env
2025-05-30 11:16:04 -07:00
ejahnGithub
2312cfb146
clean the path
2025-05-30 10:07:18 -07:00
ejahnGithub
6d90ad6a2d
clean the path
2025-05-30 09:58:23 -07:00