Commit graph

7806 commits

Author SHA1 Message Date
Andy Feller
23acba65f9 Fix gh token usage 2024-08-21 00:07:28 -04:00
Andy Feller
0ca266bc9a Fix go-licenses ordering 2024-08-21 00:02:58 -04:00
Andy Feller
341864ec25 Fix go-licenses template path error 2024-08-20 23:58:44 -04:00
Andy Feller
df7c38f8d5 Fix Go root path issue 2024-08-20 23:56:47 -04:00
Andy Feller
98294a6840 Fix go-licenses package targeting 2024-08-20 23:53:44 -04:00
Andy Feller
67d7b0752f Fix working directory error 2024-08-20 23:51:27 -04:00
Andy Feller
e42d44994e Fix working directory error 2024-08-20 23:48:55 -04:00
Andy Feller
36d622ed48 Prototype licensing workflow 2024-08-20 23:42:57 -04:00
Andy Feller
95a2f95f75
Merge pull request #9453 from cli/jtmcg/project-v2-syntax-in-search
Update `--project <number>` flags in `gh search` to `owner/number`
2024-08-20 07:42:17 -04:00
Andy Feller
4f681aaee1
Merge pull request #9477 from benebsiny/cli-9496
fix behavior for `gh issue develop -b does-not-exist-on-remote`
2024-08-19 16:42:07 -04:00
William Martin
4283adbc40
Merge pull request #9396 from bryanhonof/trunk
Add Flox as an installation option
2024-08-19 13:59:35 +02:00
William Martin
d40175fbe5 Add flox to linux installation instructions 2024-08-19 13:48:45 +02:00
William Martin
7187db418b
Merge pull request #9439 from arunsathiya/update/9205-pr-checks-json-help-doc
cmd/pr/checks: Describe bucket and state JSON fields
2024-08-19 12:53:04 +02:00
EBIBO
08aafc5484
Update pkg/cmd/issue/develop/develop.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-08-18 09:25:39 +08:00
EBIBO
04b4122e61
Update api/queries_branch_issue_reference.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-08-18 09:25:30 +08:00
benebsiny
e269d43c5a add testing 2024-08-17 13:47:02 +08:00
benebsiny
216c283e03 Merge branch 'trunk' into cli-9496 2024-08-17 12:05:17 +08:00
benebsiny
56e1cdae9e fix behavior for issue develop -b non-exist-branch 2024-08-17 12:04:09 +08:00
Arun
800f99d9fa Describe bucket and state JSON fields in pr checks command
While the `state` field corresponds 1:1 with different GitHub Actions
states, the `bucket` field is an abstraction of the CLI that lacked
documentation. This both adds documentation about the existence of the
`bucket` field and enumerates the possible values.
2024-08-16 15:26:27 -07:00
Prabhat Kumar Sahu
1886fb46ab
Fix pr checks exit code (#9452)
* Enhance  with exit code documentation

* Add new error message for PR check

* Refine gh pr checks: Add exit code 8

* Update EXIT CODES section format in man page generation
2024-08-16 14:30:11 -07:00
Fredrik Skogman
255f5301d5
Merge pull request #9467 from cli/attestation-tuf-root-update
Update attestation TUF root
2024-08-16 08:40:55 +02:00
Kynan Ware
0140e3de66
Merge pull request #9468 from cli/BagToad-external-contributors-note
Add note for external contributors to `working-with-us.md`
2024-08-15 15:47:56 -06:00
Andy Feller
0e690fad0e
Merge pull request #9462 from cli/9394-update-go-extension-workflow-template-to-reflect-recent-enhancements-to-cligh-extension-precompile
Update Go and other extension workflow templates to reflect recent enhancements to `cli/gh-extension-precompile`
2024-08-15 13:43:42 -04:00
Kynan Ware
d707102958
Add a note about external contributors to working-with-us.md 2024-08-15 11:24:40 -06:00
Cody Soyland
4618a267de
Update attestation TUF root
Signed-off-by: Cody Soyland <codysoyland@github.com>
2024-08-15 13:06:54 -04:00
Kynan Ware
5b7070f027
include required permissions to generate attestations 2024-08-14 15:16:45 -06:00
dependabot[bot]
0835642d3f
build(deps): bump github.com/creack/pty from 1.1.21 to 1.1.23 (#9459)
Bumps [github.com/creack/pty](https://github.com/creack/pty) from 1.1.21 to 1.1.23.
- [Release notes](https://github.com/creack/pty/releases)
- [Commits](https://github.com/creack/pty/compare/v1.1.21...v1.1.23)

---
updated-dependencies:
- dependency-name: github.com/creack/pty
  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>
2024-08-14 11:35:19 -07:00
Kynan Ware
820f4f3469
Do not generate build attestations for otherBinWorkflow.yml 2024-08-14 12:02:11 -06:00
bagtoad
025dcc8e95 Use latest checkout version, generate attestations, and specify go version file input. 2024-08-14 10:20:41 -06:00
Cody Soyland
9e27af999e
Merge pull request #9442 from cli/require-sigstore-bundle-v0.3
Require Sigstore Bundle v0.2+ when verifying with `gh attestation`
2024-08-13 13:56:11 -04:00
Tyler McGoffin
c838da9ee1 Update gh search issues --project flag doc to specify owner/number syntax
There are no code changes required to make this work. I added a test
specifying `<owner>/<number>` and nothing failed. Any syntax issues are
returned by the api with a generic message:

```
Invalid search query "project:\"<string>\" type:issue".
An invalid project was specified.
```

This, combined with the updated docstring, should be sufficient for users
to troubleshoot any issues with the `--project` flag syntax
2024-08-12 14:51:27 -07:00
Tyler McGoffin
e5248b8fd4 Update gh search prs --project flag doc to specify owner/number syntax
There are no code changes required to make this work. I added a test
specifying `<owner>/<number>` and nothing failed. Any syntax issues are
returned by the api with a generic message:

```
Invalid search query "project:\"<string>\" type:pr".
An invalid project was specified.
```

This, combined with the updated docstring, should be sufficient for users
to troubleshoot any issues with the `--project` flag syntax
2024-08-12 14:51:03 -07:00
Andy Feller
f33c98945c
Merge pull request #9451 from cli/dependabot/github_actions/actions/attest-build-provenance-1.4.1
build(deps): bump actions/attest-build-provenance from 1.4.0 to 1.4.1
2024-08-12 11:36:36 -04:00
dependabot[bot]
da43f6e476
build(deps): bump actions/attest-build-provenance from 1.4.0 to 1.4.1
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](210c191353...310b0a4a3b)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 15:00:14 +00:00
Andy Feller
a863dfdb30
Merge pull request #9433 from benebsiny/cli-9310
Add `pr create --editor`
2024-08-12 10:10:18 -04:00
Andy Feller
369a105c45 Minor grammatical fix 2024-08-12 10:00:37 -04:00
Andy Feller
58ff5c4b28
Merge pull request #9385 from babakks/9299-improve-annotated-releases
Improve `gh release create --notes-from-tag` behavior with multiline tag annotation
2024-08-12 09:50:57 -04:00
Babak K. Shandiz
6dc729792d
Merge branch 'trunk' into 9299-improve-annotated-releases
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-08-10 21:55:41 +01:00
Babak K. Shandiz
668dbcefc6
Add test cases for PGP, SSH and X.509 signatures
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-08-10 21:50:31 +01:00
Babak K. Shandiz
b36b39df60
Explain why not looking for signature begin marker
Signed-off-by: Babak K. Shandiz <babak.k.shandiz@gmail.com>
2024-08-10 21:29:22 +01:00
Andy Feller
3ca70905b2
Merge pull request #9444 from muzimuzhi/docs/unify-markup 2024-08-09 23:09:57 -04:00
Yukai Chou
ac77d6750d Wrap flags with backticks, continued 2024-08-10 10:24:28 +08:00
Tyler McGoffin
18d58b8d84
Replace --project.* flags' name with title in docs (#9443)
With the upcoming migration from v1 project to v2 projects, we'd like the
language in our documentation to align with v2 project language. In v2,
projects are referred to by `title` and not `name`, though they are
functionally equivalent under the hood for the CLI
2024-08-09 13:55:14 -07:00
Cody Soyland
35b2cf70cf
Change to requiring bundle v0.2
Signed-off-by: Cody Soyland <codysoyland@github.com>
2024-08-09 16:36:16 -04:00
Cody Soyland
b783441540
Fix tests
Signed-off-by: Cody Soyland <codysoyland@github.com>
2024-08-09 16:14:04 -04:00
Cody Soyland
574e131072
Require Sigstore Bundle v0.3 when verifying with gh attestation
Signed-off-by: Cody Soyland <codysoyland@github.com>
2024-08-09 16:02:04 -04:00
Andy Feller
7fe14ee0c0
Merge pull request #9432 from cli/dependabot/go_modules/github.com/google/go-containerregistry-0.20.2
build(deps): bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2
2024-08-09 14:00:57 -04:00
Andy Feller
dbcac5abc4
Merge pull request #9412 from sato11/docs-run-download-n
Document that `gh run download` downloads the latest artifact by default
2024-08-08 17:33:06 -04:00
Prabhat Kumar Sahu
ab34d868aa
Change gh repo set-default --view to print to stderr when no default exists (#9431)
Change logging of `gh repo set-default --view` to `stderr` when no default exists to better conform with expectations and unix standards.

---------

Signed-off-by: Prabhat <iprabhatdev@gmail.com>
2024-08-08 13:44:52 -07:00
Junichi Sato
330a385f9e
Document that gh run download downloads the latest artifact by default
This commit addresses the documentation issue.

The discussion at #7018 has confirmed that it is undocumented that
the current behavior of `gh run download` with `-n` and no `run-id`
downloads the latest artifact.

Although the behavior has not been created intentionally, it is the one
that should be documented and the future releases should warn before
a breaking change.
2024-08-08 19:35:16 +09:00