Commit graph

9857 commits

Author SHA1 Message Date
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
William Martin
731a126ca5
Merge pull request #11092 from cli/dependabot/go_modules/github.com/sigstore/protobuf-specs-0.4.3
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.2 to 0.4.3
2025-06-11 15:41:28 +02:00
William Martin
7c5651d5ce
Merge pull request #11066 from cli/dependabot/github_actions/mislav/bump-homebrew-formula-action-3.4
chore(deps): bump mislav/bump-homebrew-formula-action from 3.2 to 3.4
2025-06-11 15:40:57 +02:00
dependabot[bot]
52bde8a3f7
chore(deps): bump github.com/sigstore/protobuf-specs from 0.4.2 to 0.4.3
Bumps [github.com/sigstore/protobuf-specs](https://github.com/sigstore/protobuf-specs) from 0.4.2 to 0.4.3.
- [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.2...v0.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 14:52:22 +00:00
William Martin
49eee93a34
Merge pull request #11091 from cli/babakks/fix-test-data
Fix const in PR finder tests
2025-06-10 15:09:10 +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
dependabot[bot]
2266c7a5b5
chore(deps): bump mislav/bump-homebrew-formula-action from 3.2 to 3.4
Bumps [mislav/bump-homebrew-formula-action](https://github.com/mislav/bump-homebrew-formula-action) from 3.2 to 3.4.
- [Release notes](https://github.com/mislav/bump-homebrew-formula-action/releases)
- [Commits](942e550c63...8e2baa47da)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 14:57:13 +00: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
Andy Feller
4ba6d05256 Primer formatting 2025-06-02 16:18:25 -04:00
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
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
Brian DeHamer
699ccc1a94
empty commit 2025-05-30 13:19:41 -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
Babak K. Shandiz
5ed59d0993
chore: fix variable name casing
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 18:23:15 +01:00
Andy Feller
b30101c496 Avoid analyzing 3rd party license content with CodeQL
With these changes, `cli/cli` will be redistributing code as-is due to license compliance, which we will not change or address issues around.  Without these changes, our pull requests are getting a bunch of false positive annotations we cannot and will not fix directly.
2025-05-30 13:22:42 -04:00
Babak K. Shandiz
d1a5441725
chore: ensure output path is a directory
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 18:19:55 +01: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
Andy Feller
815c557f9a Update 3rd party license information 2025-05-30 12:50:20 -04:00
Andy Feller
bd24865076 Adopt license compliance scripts into workflows, docs
This commit introduces the use of `go-licenses` within CI/CD and manual processes for generating / updating the license information used by GitHub CLI including the code required by license to be redistributed.

During GitHub CLI pull requests, the `lint` workflow will notify users if this information is not updated.
2025-05-30 12:46:51 -04:00
ejahnGithub
e00e1c414b clean the path 2025-05-30 09:46:46 -07:00
ejahnGithub
8e6ed6eb38 improve test 2025-05-30 09:30:05 -07:00
ejahnGithub
3b17318ee4 fix test 2025-05-30 08:31:07 -07:00
Eugene
15b7692f1a
Merge branch 'trunk' into eugene/release-verify 2025-05-30 08:20:42 -07:00
ejahnGithub
71c2361dfc add unit test 2025-05-30 08:17:21 -07:00
Babak K. Shandiz
121483ad4a
chore: prepare Windows resources .syso files before build
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 15:20:40 +01:00
Babak K. Shandiz
0385f9d10c
chore: add script to create Windows resources
Signed-off-by: Babak K. Shandiz <babakks@github.com>
2025-05-30 15:20:38 +01: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