Commit graph

6451 commits

Author SHA1 Message Date
Wing-Kam Wong
baaa5c3184 feat: add attemptLabel to RenderRunHeader 2023-03-26 14:38:24 +08:00
Wing-Kam Wong
343e730016 feat: pass attempt to RenderRunHeader 2023-03-26 14:38:05 +08:00
Wing-Kam Wong
9a0f7916c3 feat: update GetRun path based on attempt 2023-03-26 14:11:42 +08:00
Wing-Kam Wong
bd0f535dea feat: pass 0 to fetch latest attempt 2023-03-26 14:11:19 +08:00
Wing-Kam Wong
2894695652 feat: add attempt flag to run view 2023-03-26 14:11:03 +08:00
Nate Smith
82927b0cc2
Merge pull request #7186 from srgk26/trunk
Added apt update command to linux install docs.
2023-03-23 10:52:16 -07:00
Nate Smith
9cf6f77a1f
Merge pull request #7212 from wingkwong/feat/gist-rename
feat: gist rename
2023-03-23 10:50:23 -07:00
Wing-Kam Wong
c6454064a4 refactor: revise errMsg in rename_test.go 2023-03-23 11:58:13 +08:00
Wing-Kam Wong
6854f0f63c refactor: remove unnecessary validations 2023-03-23 11:58:00 +08:00
Wing-Kam Wong
951d1aaa1f refactor: use ExactArgs instead of MaximumNArgs 2023-03-23 11:52:14 +08:00
Wing-Kam Wong
5699daef27 refactor: change from [] to {} 2023-03-23 11:51:55 +08:00
Sam Coe
39805fa9b1
Properly handle closing files that have been writen to (#7199) 2023-03-23 01:17:47 +00:00
dependabot[bot]
3534cf7527
Bump github.com/mattn/go-isatty from 0.0.17 to 0.0.18 (#7217)
Bumps [github.com/mattn/go-isatty](https://github.com/mattn/go-isatty) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/mattn/go-isatty/releases)
- [Commits](https://github.com/mattn/go-isatty/compare/v0.0.17...v0.0.18)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-isatty
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-23 07:53:21 +11:00
Wing-Kam Wong
3b27e068f2 feat: gist rename test 2023-03-22 00:11:40 +08:00
rsteube
1fc98f6808
variable: fix listing and deleting variables in an environment (#7207)
Co-authored-by: Mislav Marohnić <mislav@github.com>
2023-03-21 11:46:50 +00:00
Heath Stewart
88cae9f5be
Support ext install --force (#7173)
Resolves #7096
2023-03-20 15:58:30 +01:00
S R Gokul Krishnan
9c83723a01
Merge branch 'trunk' into trunk 2023-03-20 07:58:02 +00:00
Zhengyuan Zhang
0b9b1f710f
use Prompter for pkg/cmd/repo/archive (#7083) 2023-03-20 00:00:16 +00:00
Mislav Marohnić
9d10439eee
Merge pull request #7195 from jongwooo/chore/replace-deprecated-command-with-environment-file
Replace deprecated command with environment file
2023-03-19 14:37:55 +00:00
Wing-Kam Wong
b705ea94a0 fix: revise test cases in TestNewCmdRename in rename_test.go 2023-03-19 21:31:58 +08:00
Wing-Kam Wong
9e1d34f473 feat: add FlagErrorf for missing flag cases 2023-03-19 21:31:23 +08:00
Wing-Kam Wong
eb2da16b60 feat: TestNewCmdRename for gist rename 2023-03-19 19:43:34 +08:00
Wing-Kam Wong
daf4922176 refactor: remove unused code 2023-03-19 17:28:02 +08:00
jongwooo
3a89f14dea Replace deprecated command with environment file
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
2023-03-19 00:19:02 +09:00
Benjamin Levesque
9596fd5368
Skip checking keyring for token in certain scenarios (#7169) 2023-03-18 08:59:43 +11:00
Wing-Kam Wong
54de75db82 feat: add gist rename logic 2023-03-18 01:16:59 +08:00
Wing-Kam Wong
f9d3b71c3b feat: add gistRenameCmd to gist.go 2023-03-17 22:35:37 +08:00
S R Gokul Krishnan
239a515faa Added apt update command to linux install docs. 2023-03-17 14:27:47 +00:00
dependabot[bot]
d905165875
Bump actions/setup-go from 3 to 4 (#7177)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:22:02 +11:00
Sam Coe
7bd7153285
Fix multiword keyword quoting for search commands (#7170) 2023-03-16 09:19:26 +11:00
Nate Smith
999caaa09a
Merge pull request #7180 from cli/jtpetty/issue-455
Hide "current branch" for pr status --repo
2023-03-15 14:59:18 -07:00
Tommy Petty
6d09500936 Fixes #455 - Hide "current branch" for pr status --repo 2023-03-15 16:52:14 -04:00
Sam Coe
41a457136e
Tech debt cleanup for variable and secret commands (#7151) 2023-03-15 01:03:56 +00:00
Sam Coe
5191c502e9
Only replace control sequences (#7168) 2023-03-15 08:24:20 +11:00
Sam Coe
f7930a430b
Dont follow redirects on repo delete (#7106) 2023-03-14 04:38:57 +11:00
Anupam Kumar
e5a0b1fe34
Add variable delete command (#6929) 2023-03-13 03:41:55 +00:00
Anupam Kumar
c82509587e
Add variable list command (#6995) 2023-03-13 03:21:21 +00:00
Anupam Kumar
88cc4d2531
Add variable set command (#6928) 2023-03-13 03:01:38 +00:00
Alex Petrov
76f6aa1fc1
Clarify gh auth refresh command behavior (#7132) 2023-03-13 02:08:32 +00:00
Sam Coe
cff5dec2ce
Make repo sync git fetch authenticated (#7139) 2023-03-13 13:00:37 +11:00
Alex Petrov
c2d728ecd3
Improve documentation and consistency of the --commit flag for gh browse command (#7105) 2023-03-13 01:27:07 +00:00
Sam Coe
78ffa73f44
Use transform.Transformer interface for ascii sanitization (#7117) 2023-03-13 08:36:46 +11:00
Nate Smith
661d962112
Merge pull request #7116 from cli/even-more-prompts
New prompt testing utility
2023-03-10 10:43:41 -08:00
Nate Smith
aae4023cdc use t.Cleanup(m.Verify) 2023-03-09 16:43:48 -08:00
vilmibm
10dd74b4af fix bug with Prompter.MultiSelect 2023-03-09 16:40:27 -08:00
vilmibm
b5c3d982b1 new tooling for assertions about prompting 2023-03-09 16:40:27 -08:00
Mislav Marohnić
71d9e0eb40
Merge pull request #7124 from cli/config-get-token-fix
config get: support getting oauth_token from keyring
2023-03-09 15:43:31 +00:00
Mislav Marohnić
db68dfa47b
config get: support getting oauth_token from keyring
Since we've advertised `gh config get -h HOST oauth_token` as an API for outside scripts and extensions to access the token, this should continue working even if the token was technically stored in keyring and not in the config file.
2023-03-09 16:35:07 +01:00
Mislav Marohnić
b2b0a1692e
Merge pull request #7120 from cli/codespace-ssh-fix
codespace ssh: fix "connection reset by peer"
2023-03-09 14:26:05 +00:00
Mislav Marohnić
1933fc2f69
codespace ssh: fix "connection reset by peer" 2023-03-09 15:14:39 +01:00