Commit graph

10492 commits

Author SHA1 Message Date
Babak K. Shandiz
38c280ec8a
docs: update go version 1.25
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-31 12:22:48 +00:00
Babak K. Shandiz
139c2c4f9a
refactor: replace backport with strings.CutSuffix
The `cutSuffix` function was added to backport the functionality of
`strings.CutSuffix` from Go 1.20. Now that we're using Go 1.25, we can
safely replace our backport with the standard library function. Our
backport was an intact copy/paste of the stdlib implementation, so this
change does not alter any behavior.

Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-31 12:21:02 +00:00
Babak K. Shandiz
a73a6937ab
chore: bump Go in devcontainer
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-31 12:03:25 +00:00
Babak K. Shandiz
9e55f83a04
Merge branch 'trunk' into bump-go-1.25.3 2025-10-31 10:05:40 +00:00
Kynan Ware
20c7bdc2a4
Merge pull request #11761 from luxass/gist-edit-large-file
fix(gist): add support for editing & viewing large files
2025-10-30 20:35:23 -06:00
Babak K. Shandiz
a722c88e98
Merge pull request #12056 from cli/babakks/fix-linter-issues
Apply `go fix` to remove deprecated `// +build` tags
2025-10-30 21:41:33 +00:00
Babak K. Shandiz
05986e4cb3
chore: apply go fix to remove deprecated // +build tags
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-30 21:10:45 +00:00
Babak K. Shandiz
757a6dece4
Merge pull request #12053 from 2003Aditya/fix-interval
Fix `--interval` flags docs in `gh pr checks`
2025-10-30 20:22:19 +00:00
2003Aditya
15f01d43a4 fix: --interval flags docs in gh pr checks 2025-10-30 20:06:45 +00:00
Babak K. Shandiz
68e9b9a517
Merge pull request #12049 from cli/babakks/bump-golangci-lint
Bump Golangci-lint to `v2.6.0`
2025-10-30 20:02:50 +00:00
Babak K. Shandiz
c0937f404e
Merge pull request #12054 from cli/kw/tool-chain-bump
Update Go toolchain version to 1.24.9
2025-10-30 19:52:14 +00:00
Kynan Ware
36665a1fb8
Merge pull request #12050 from cli/babakks/improve-run-list-docs
Mention `pr checks` in `run list` docs
2025-10-30 13:20:15 -06:00
Lucas
7db532aca0
test(gist/edit): add tests for single file edit and interactive multi-file selection
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-10-30 18:50:49 +01:00
Kynan Ware
7173c17b94 Update Go toolchain version to 1.24.9
Bump the Go toolchain version from 1.24.6 to 1.24.9
2025-10-30 10:45:31 -06:00
Kynan Ware
8babe59bd9
Merge branch 'trunk' into gist-edit-large-file 2025-10-30 09:51:38 -06:00
Babak K. Shandiz
898992dd39
docs(run list): mention pr checks in help docs
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-30 13:07:58 +00:00
Babak K. Shandiz
594e210581
ci: bump Golangci-lint to v2.6.0
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-10-30 12:27:12 +00:00
Babak K. Shandiz
f4797e5316
Merge pull request #11974 from cli/dependabot/go_modules/golang.org/x/crypto-0.43.0
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0
2025-10-30 12:20:27 +00:00
dependabot[bot]
858214a237
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.43.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.42.0 to 0.43.0.
- [Commits](https://github.com/golang/crypto/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 12:09:55 +00:00
Babak K. Shandiz
962755bc47
Merge pull request #11973 from cli/dependabot/go_modules/golang.org/x/text-0.30.0
chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0
2025-10-30 12:08:32 +00:00
dependabot[bot]
950b6b66f9
chore(deps): bump golang.org/x/text from 0.29.0 to 0.30.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.29.0 to 0.30.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-version: 0.30.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 11:55:26 +00:00
Lucas
6c497e74df
test(gist): fix failing tests 2025-10-30 06:12:15 +01:00
Lucas
42238dc365
fix(gist): prevent fetching full content for already edited files 2025-10-30 05:55:53 +01:00
Lucas
c98c435800
fix(gist): only include files that have changed in request
There was some issues when sending the full list of files, some of them would be truncated.
2025-10-30 05:49:52 +01:00
Lucas
f8651f5e44
fix(gist): fetch full content for truncated files during editing
This change makes it only fetch the raw content, when we wanna edit the specific file.
2025-10-30 05:48:34 +01:00
Lucas Nørgård
cf7180379a
Merge branch 'trunk' into gist-edit-large-file 2025-10-30 04:18:26 +01:00
Kynan Ware
119085c66e
Merge pull request #12039 from Shion1305/shion/feat-12033
đź’ˇ (gh repo delete) Add warning when `--yes` is ignored without a repository, Closes: #12033
2025-10-29 11:30:29 -06:00
Kynan Ware
489f96c358
Merge pull request #12042 from jonzfisher/patch-1
Fix typo in comment for `gh issue develop` branch checkout command
2025-10-29 11:29:58 -06:00
Shion Ichikawa
a7f14576aa
âś… (repo delete) remove comprehensive assertions on check stderr output 2025-10-29 08:47:34 +09:00
Jonathan Fisher
09617d315e
Fix typo in comment for gh issue develop branch checkout command 2025-10-28 16:13:24 -06:00
Shion Ichikawa
7083f6dda4
đź’ˇ (gh repo delete) Add warning when --yes is ignored without a repository, Closes: #12033 2025-10-29 03:13:51 +09:00
Kynan Ware
e8325cb2cd
Merge pull request #12000 from cli/dependabot/go_modules/github.com/rivo/tview-0.42.0
chore(deps): bump github.com/rivo/tview from 0.0.0-20250625164341-a4a78f1e05cb to 0.42.0
2025-10-27 10:03:51 -06:00
dependabot[bot]
14c939560a
chore(deps): bump github.com/rivo/tview
Bumps [github.com/rivo/tview](https://github.com/rivo/tview) from 0.0.0-20250625164341-a4a78f1e05cb to 0.42.0.
- [Release notes](https://github.com/rivo/tview/releases)
- [Commits](https://github.com/rivo/tview/commits/v0.42.0)

---
updated-dependencies:
- dependency-name: github.com/rivo/tview
  dependency-version: 0.42.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 15:44:11 +00:00
Kynan Ware
eb79e4a2f2
Merge pull request #12032 from cli/dependabot/github_actions/actions/download-artifact-6
chore(deps): bump actions/download-artifact from 5 to 6
2025-10-27 09:33:52 -06:00
Kynan Ware
149d431baf
Merge pull request #12031 from cli/dependabot/github_actions/actions/upload-artifact-5
chore(deps): bump actions/upload-artifact from 4 to 5
2025-10-27 09:33:23 -06:00
dependabot[bot]
ac8eafd51e
chore(deps): bump actions/download-artifact from 5 to 6
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 15:10:59 +00:00
dependabot[bot]
366169500f
chore(deps): bump actions/upload-artifact from 4 to 5
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-27 15:01:02 +00:00
Trevor Rosen
0b1b5feff1
Merge pull request #11989 from cli/copilot/fix-gh-attestation-verification
Fix gh attestation verify to work when Public Good Instance of Sigstore is unavailable
2025-10-24 16:57:36 -05:00
Trevor Rosen
b808612769 Remove skipped tests
Signed-off-by: Trevor Rosen <trevrosen@github.com>
2025-10-24 13:45:16 -05:00
Trevor Rosen
b6013cf409 Make verifier choice more explicit
Signed-off-by: Trevor Rosen <trevrosen@github.com>
2025-10-24 13:42:58 -05:00
Babak K. Shandiz
4a573d0d2f
Merge branch 'trunk' into bump-go-1.25.3 2025-10-24 12:54:53 +01:00
Kynan Ware
b90e39ea91
Merge pull request #8826 from lucasmelin/lucasmelin/add-pr-revert-command
feat: implement gh `pr revert`
2025-10-23 13:13:08 -06:00
Brian DeHamer
95719714d9
Merge pull request #11991 from cli/copilot/update-gh-release-verification
Use "release" sentinel value for release attestation verification
2025-10-23 09:14:11 -07:00
Lucas Melin
6db1441eb6
Return only basic pull request info when reverting a PR
Co-authored-by: Kynan Ware <47394200+BagToad@users.noreply.github.com>
2025-10-22 18:02:35 -04:00
Trevor Rosen
d5399b79b9
Merge branch 'trunk' into copilot/fix-gh-attestation-verification 2025-10-22 16:56:55 -05:00
Brian DeHamer
0579d74f6d
Merge pull request #11945 from cli/bdehamer/gh-release-create-docs
Improve docstring for release-create
2025-10-22 11:35:49 -07:00
Kynan Ware
a30277b9d0
Merge pull request #11750 from cli/dependabot/github_actions/mislav/bump-homebrew-formula-action-3.6
chore(deps): bump mislav/bump-homebrew-formula-action from 3.4 to 3.6
2025-10-22 10:17:14 -06:00
Kynan Ware
2a0a935b53
Merge pull request #11509 from cli/dependabot/github_actions/goreleaser/goreleaser-action-6.4.0
chore(deps): bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0
2025-10-22 10:12:16 -06:00
dependabot[bot]
3b4d6e9f1e
chore(deps): bump mislav/bump-homebrew-formula-action from 3.4 to 3.6
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 3.4 to 3.6.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](8e2baa47da...56a283fa15)

---
updated-dependencies:
- dependency-name: mislav/bump-homebrew-formula-action
  dependency-version: '3.6'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 16:06:26 +00:00
dependabot[bot]
c7bf1b0a18
chore(deps): bump goreleaser/goreleaser-action from 6.3.0 to 6.4.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](9c156ee8a1...e435ccd777)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-22 16:01:40 +00:00