Commit graph

9647 commits

Author SHA1 Message Date
Andy Feller
180f629cd7 Fix spacing 2025-06-02 16:13:27 -04:00
Andy Feller
3008abae71 Add missing files 2025-06-02 16:11:31 -04:00
Andy Feller
a9468ae535 Rename READMEs
Help content automatically render
2025-06-02 16:10:51 -04:00
Andy Feller
e6cc90a346 Initial restore of Primer CLI docs
This commit brings the https://github.com/primer/cli/ content into the repository for contributors and maintainers.

Minimal changes to the original content have been made as this is being hosted as pure markdown.
2025-06-02 16:08:28 -04:00
Kynan Ware
b4ab34371d
Merge pull request #11043 from cli/kw/bump-go-gh
Bump `go-gh` to v2.12.1
2025-05-29 14:49:12 -06:00
Kynan Ware
6cfe8ca0e2 Update go-gh to v2.12.1 2025-05-29 13:56:54 -06:00
Andy Feller
79fc854814
Merge pull request #11030 from cli/bdehamer/release-asset-digest
Add Digest to ReleaseAsset struct
2025-05-29 15:11:16 -04:00
Brian DeHamer
fc6ac59bbc
fixup release asset digest tests
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-05-29 12:00:40 -07:00
Brian DeHamer
0d6b9f89a4
remove nolint comment for release header
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-05-29 11:54:44 -07:00
Brian DeHamer
7b33da981e
Update pkg/cmd/release/view/view.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2025-05-29 11:53:33 -07:00
Meredith Lancaster
c50cdbd0c5
Merge pull request #10943 from malancas/gh-attestation-tuf-client-retry
Add retry logic when fetching TUF content in `gh attestation` commands
2025-05-28 13:16:18 -06:00
Meredith Lancaster
23382f498e Merge branch 'trunk' into gh-attestation-tuf-client-retry 2025-05-28 10:24:32 -06:00
Kynan Ware
2cdee009a3
Merge pull request #11032 from cli/dependabot/go_modules/github.com/yuin/goldmark-1.7.12
chore(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.12
2025-05-28 10:13:30 -06:00
Kynan Ware
03b0c7276e
Merge pull request #10999 from cli/dependabot/go_modules/github.com/sigstore/protobuf-specs-0.4.2
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.1 to 0.4.2
2025-05-28 09:58:23 -06:00
dependabot[bot]
8fcb206de4
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.1 to 0.4.2
Bumps [github.com/sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/sigstore/protobuf-specs/releases)
- [Changelog](https://github.com/sigstore/protobuf-specs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sigstore/protobuf-specs/compare/v0.4.1...v0.4.2)

---
updated-dependencies:
- dependency-name: github.com/sigstore/protobuf-specs
  dependency-version: 0.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 15:47:41 +00:00
Babak K. Shandiz
d1b82d19f9
Merge pull request #10980 from cli/babakks/improve-pr-create-docs
Mention `pr create` will print the created PR's URL
2025-05-28 16:43:04 +01:00
dependabot[bot]
f8e092cbb7
chore(deps): bump github.com/yuin/goldmark from 1.7.8 to 1.7.12
Bumps [github.com/yuin/goldmark](https://github.com/yuin/goldmark) from 1.7.8 to 1.7.12.
- [Release notes](https://github.com/yuin/goldmark/releases)
- [Commits](https://github.com/yuin/goldmark/compare/v1.7.8...v1.7.12)

---
updated-dependencies:
- dependency-name: github.com/yuin/goldmark
  dependency-version: 1.7.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-28 14:26:37 +00:00
phanium
19e1178a32
fix: gh gist edit panic when no file in a gist (#10627)
* fix: `gh gist edit` panic when no file in a gist

* fix: improve error message

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-05-28 14:40:14 +01:00
Babak K. Shandiz
c927ea40c3
Merge pull request #10979 from cli/babakks/improve-pr-list-docs
Add example usage of `--head` option to `pr list` docs
2025-05-28 14:38:17 +01:00
Babak K. Shandiz
01a1859d40
Merge pull request #11013 from cli/babakks/add-run-presentation-tests
Add tests for `RenderJobs` and `RenderJobsCompact`
2025-05-28 13:10:44 +01:00
Babak K. Shandiz
aa64bb5708
docs(pr list): mention --head does not support <owner>:<branch> syntax
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-28 12:55:11 +01:00
Kynan Ware
98b844a385
Merge pull request #11024 from cli/kw/cli-10242-fix-updater-notifications
Fix brew update notifications
2025-05-27 14:33:43 -06:00
Brian DeHamer
bc93b54137
add Digest to ReleaseAsset struct
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2025-05-27 12:47:16 -07:00
Kynan Ware
dd4095d016 doc(update): improve comments on updaterEnabled 2025-05-27 13:05:47 -06:00
Meredith Lancaster
f2f769c23a Merge branch 'trunk' into gh-attestation-tuf-client-retry 2025-05-27 10:14:35 -06:00
Meredith Lancaster
4fcd6bf6eb
Merge pull request #11028 from malancas/sigstore-go-v1
Update sigstore-go dependency to v1.0.0
2025-05-27 10:12:05 -06:00
Kynan Ware
3e3b9adb45
Refactor build tag logic
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-27 10:11:03 -06:00
Meredith Lancaster
a154ff5cfa replace deprecated func
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-05-27 09:38:46 -06:00
Meredith Lancaster
dcca4b2940 replace deprecated type
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-05-27 09:34:35 -06:00
Meredith Lancaster
1ebed2678a update sigstore-go to v1
Signed-off-by: Meredith Lancaster <malancas@github.com>
2025-05-27 09:27:12 -06:00
Kynan Ware
b044a76080
Merge pull request #10825 from cli/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.9
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.8 to 1.4.9
2025-05-27 08:58:08 -06:00
Kynan Ware
22504bfa96 feat(update): add updateable build tag for update notifications 2025-05-26 09:45:00 -06:00
William Martin
3d27e61aa9
Merge pull request #11022 from irhdab/patch-1
Update README.md
2025-05-25 13:35:28 +02:00
Han
9594937d58
Update README.md 2025-05-25 18:45:56 +09:00
Babak K. Shandiz
bb5e10d41f
test(run): add tests for RenderJobs and RenderJobsCompact
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-23 11:00:09 +01:00
Azeem Sajid
1e6a2b1aff
Add --compact flag to run watch (#10629)
* [gh run watch] Support `--compact` flag

* [gh run watch] Support `--compact` flag

* Add changes for updated AC

* Incorporate review changes

* docs(run watch): fill up the line to 80 chars

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-05-23 10:55:41 +01:00
Kynan Ware
ca46b56456
Merge pull request #11003 from cli/kw-bks/enclose-config-options-in-code-blocks
Fix formatting in allowed values for `gh config --help`
2025-05-22 10:14:14 -06:00
Kynan Ware
ace4dc6c72
Merge pull request #11004 from cli/revert-10371-10348-escape-pipe-in-long-description-for-website-manual
Revert "[gh config] Escape pipe symbol in Long desc for website manual"
2025-05-22 10:12:21 -06:00
Babak K. Shandiz
960aadf2b9
test: improve test case naming
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-22 17:04:04 +01:00
Babak K. Shandiz
34431ab074
chore: run go mod tidy
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-21 12:20:08 +01:00
Babak K. Shandiz
53d589223b
test: ensure proper usage of pipes in docs
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-21 12:17:05 +01:00
Kynan Ware
a04dc73e5d
Merge pull request #10745 from cli/kw/preview-prompter-command
Add `preview prompter` command
2025-05-20 13:13:42 -06:00
Kynan Ware
944543863a
Revert "[gh config] Escape pipe symbol in Long desc for website manual" 2025-05-20 08:54:30 -06:00
Kynan Ware
b639d6d514 doc(pr): format allowed values and defaults in help 2025-05-20 08:37:01 -06:00
Kynan Ware
e0d7ad772f
Merge pull request #10992 from cli/kw/gh-cli-epic-900-actors-are-assignable
Copilot is assignable to issues and pull requests with `issue edit` and `pr edit`
2025-05-19 12:34:39 -06:00
Kynan Ware
0788a01517 refactor(api): inline struct definitions in RepoAssignableActors 2025-05-16 15:17:39 -06:00
Kynan Ware
e0f3f0f2fd refactor(api): change CopilotActorLogin to constant 2025-05-16 14:57:49 -06:00
Kynan Ware
53d0d5d192 fix(editable): include DefaultLogins in EditableAssignees clone 2025-05-16 12:54:01 -06:00
Kynan Ware
6f1906073f
doc(params): incorrect func name in comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-16 12:51:09 -06:00
Kynan Ware
d932934119 Merge branch 'trunk' into kw/gh-cli-epic-900-actors-are-assignable 2025-05-16 12:49:52 -06:00