Commit graph

3143 commits

Author SHA1 Message Date
Arun Sathiya
9d04ee6c8d
update(run): Use attempt input when fetching jobs (#7831)
* Introduce attempt flag for run watch and use attempt input when fetching jobs

* Handle attempt input for 'run watch' commands instead of using the latest attempt

* Revert attempt flag implementation for 'run watch' command because it is intended only for the latest attempt

* Fix tests for cases when attempt flag is used on 'run view' command

---------

Co-authored-by: Andy Feller <andyfeller@github.com>
2023-10-03 14:36:47 +02:00
Andy Feller
8d53e246f2
Merge pull request #8080 from peterramaldes/3888-document-explicitly-fill-flag
docs: update the flag `--fill` docs
2023-10-03 08:30:30 -04:00
Peter A. Ramaldes
c10371605c
Update pkg/cmd/pr/create/create.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2023-10-02 14:46:02 -03:00
Andy Feller
bd072c5e83
Merge pull request #8081 from rajhawaldar/SupportStandardOutputFormatFlags
Support standard output format flags for secret and deploy-key list
2023-10-02 13:21:47 -04:00
Lars Lehtonen
07ee387f25
pkg/cmd/root: fix startup panic (#8105) 2023-10-02 07:03:24 +00:00
Raj Hawaldar
976b84afd2
Merge branch 'trunk' into SupportStandardOutputFormatFlags 2023-09-29 15:46:48 +05:30
rajhawaldar
79296c0a62
Use camelCase for fields
Signed-off-by: rajhawaldar <rajhawaldar.in@gmail.com>
2023-09-29 13:02:59 +05:30
Peter Admilson Ramaldes
d4668c599e docs: update the details of fill and fill-first 2023-09-28 06:00:54 -03:00
David Gardiner
e059f32aa5 Forward codespace ports over Dev Tunnels 2023-09-27 13:42:40 -07:00
Andy Feller
4dc80c3925
Merge pull request #7954 from siketyan/feat/cache-list-json
feat(cache): Add JSON exporting support for cache list
2023-09-26 07:51:16 -04:00
rajhawaldar
965eabd503
Support standard output format flags for secret and deploy-key list
Signed-off-by: rajhawaldar <rajhawaldar.in@gmail.com>
2023-09-25 21:35:47 +05:30
Peter Admilson Ramaldes
756d9a07d0 docs: update the flag --fill docs
The `--title` and/or `--body` could be overwritten when use `--fill`
togheter, so, this change makes this behavior more evident
2023-09-25 07:26:33 -03:00
Raj Hawaldar
decbbd2165
Show cancelled checks (#7960) 2023-09-24 18:27:01 +02:00
Heath Stewart
073ec3426b
Return HTTP errors properly for some commands (#8037)
* Return HTTP error for `run watch`

Partially fixes #8026

* Return HTTP error for `gpg-key delete`

Partially fixes #8026
2023-09-24 18:22:55 +02:00
Natsuki Ikeguchi
9ef7a5f262
test: Add unit test for cache.ExportData 2023-09-24 02:53:08 +09:00
Benoit Pierre
564d07ce00 cache/delete: percent-encode keys 2023-09-21 16:32:53 +02:00
Raj Hawaldar
c5a7bf8f45
Hint adding codespace scope to auth login (#7961) 2023-09-21 08:43:27 +02:00
Sam Coe
94fbbdf9b5
Cleanup release create around new --notes-from-tag flag (#8016) 2023-09-19 08:26:52 +00:00
Keith Bailey
97755c6bf0
Document when gh auth login writes oauth token to plain text (#7781) 2023-09-18 11:34:13 +02:00
Andy Feller
abc282d3f2
Merge branch 'trunk' into git-tag-release-notes 2023-09-13 08:19:15 -04:00
Keith Bailey
f02cbf36d1
Merge branch 'git-tag-release-notes' of github.com:kbailey4444/cli into git-tag-release-notes 2023-09-12 21:36:39 -04:00
Josh Gross
c5f88bb551
Show full permissions URL in gh cs create (#7983)
* Show full permissions URL in `gh cs create`

* Validate that full permissions URL is displayed
2023-09-12 10:12:53 -07:00
Andy Feller
28746d8f60
Merge branch 'trunk' into git-tag-release-notes 2023-09-12 08:10:53 -04:00
Keith Bailey
be41a9bd20
moved remoteTagExists under if NotesFromTag exists and added three tests 2023-09-11 14:17:49 -04:00
Nick Alteen
7e7391bf88
Clarify list repo behavior (#7964)
Co-authored-by: William Martin <williammartin@github.com>
2023-09-11 17:28:14 +02:00
Keith Bailey
9f68a49304
Merge branch 'cli:trunk' into git-tag-release-notes 2023-09-07 17:31:20 -04:00
Keming
ba60f89f42
Delete local tag when running gh release delete --cleanup-tag (#7884) 2023-09-07 12:04:15 +00:00
Jun Nishimura
925473eeb1
Add --all flag to alias delete command (#7900) 2023-09-07 10:56:44 +00:00
Natsuki Ikeguchi
1749574310
feat(cache): Add JSON exporting support for cache list
Signed-off-by: Natsuki Ikeguchi <me@s6n.jp>
2023-09-07 01:35:03 +09:00
Harvey Sanders
4ccc6ed03b
Merge branch 'trunk' into 7771-list-all-run-jobs 2023-09-05 11:39:23 -04:00
Harvey Sanders
6f0f5a89e2 Use consistent variable naming 2023-09-05 11:36:33 -04:00
Robert Estelle
b91cfd8484
gh status: show status even if a comment 404s (#7873) 2023-09-05 04:34:44 +02:00
Ariel Deitcher
52a2a72210
rename template to mark-template cmd (#7923) 2023-09-05 03:58:07 +02:00
Harvey Sanders
e96fe1d007
Merge branch 'trunk' into 7771-list-all-run-jobs 2023-09-03 20:39:27 -04:00
Harvey Sanders
137da73642 Simplify mock jobs response 2023-09-03 20:32:41 -04:00
Harvey Sanders
d5d10a6f38 Use "Link" header for pagination completion check 2023-09-03 20:32:08 -04:00
Harvey Sanders
acc362f9d8 Fix pagination resp with "Link" header 2023-09-03 19:55:27 -04:00
Harvey Sanders
a4547481d6 Refactor GetJobs to use RESTWithNext 2023-09-02 01:01:29 -04:00
Andy Feller
d4f3695a09
Merge branch 'trunk' into mntlty/project_template 2023-08-31 15:18:23 -04:00
Harvey Sanders
656d83848b Merge branch 'trunk' of github.com:cli/cli into 7771-list-all-run-jobs
* 'trunk' of github.com:cli/cli:
  Add JSON output flags to workflow list command (#7902)
  Add config clear-cache command (#7693)
  Allow --disable-wiki flag with --template flag in repo create command (#7886)
  Reword token invalid message (#7906)
  🐛 (repo create)execute clone when readme option is enabled (#7837)
  Use go-gh prompter package (#7896)
  pr checks return distinct exit code for PENDING checks (#7866)
  Properly rename remote for GHES hosts (#7890)
  Add verbose flag to api cmd (#7826)
  Fix up Nix installation instructions (#7891)
2023-08-31 09:34:47 -04:00
Raj Hawaldar
330ad32c31
Add JSON output flags to workflow list command (#7902) 2023-08-30 20:19:18 +00:00
Ariel Deitcher
1fef870916 fix tests 2023-08-30 09:55:58 -07:00
Ariel Deitcher
f5d5e2ed1b no other descriptions have a period 2023-08-30 09:48:17 -07:00
Ariel Deitcher
a94240e1e0 mark and unmark project as template 2023-08-30 09:00:24 -07:00
ffalor
7c2e5fd595
Add config clear-cache command (#7693) 2023-08-30 15:19:09 +00:00
Yuto
f8bf602ecd
Allow --disable-wiki flag with --template flag in repo create command (#7886) 2023-08-29 22:52:57 +00:00
Kousik Mitra
6fc6b87484
Reword token invalid message (#7906) 2023-08-28 15:12:28 -05:00
Shion Ichikawa
a5400effd8
🐛 (repo create)execute clone when readme option is enabled (#7837)
* 🐛 (repo create)execute clone when readme option is enabled

*  (repo/create)noninteractive clone with readme

* 🔥 (repo/create)remove printing statement
2023-08-28 14:09:02 +00:00
Sam Coe
8016244dbb
Use go-gh prompter package (#7896) 2023-08-28 08:08:43 -05:00
Raj Hawaldar
9fc571499f
pr checks return distinct exit code for PENDING checks (#7866) 2023-08-25 10:30:45 -07:00