Commit graph

7188 commits

Author SHA1 Message Date
benebsiny
7fd91f593c fix wording, move conditional blocks to functions, and add api to retrieve the ID of a team 2024-01-24 14:37:28 +08:00
EBIBO
c9184d2ba2
Merge branch 'trunk' into cli-7849 2024-01-21 21:56:33 +08:00
benebsiny
aaa41ca6a9 Fix wording 2024-01-21 21:41:58 +08:00
benebsiny
918443f32b Add testing for link and unlink 2024-01-21 21:30:09 +08:00
benebsiny
f98acb2d99 Support for team 2024-01-20 22:46:22 +08:00
benebsiny
e209d14516 Support for unlink 2024-01-19 23:35:18 +08:00
benebsiny
bb1ab90a9a Remove support for team 2024-01-19 23:23:26 +08:00
Victor Lee
b8c4ea1e7c
added URL for newly created repo (#8574) 2024-01-19 12:16:15 +01:00
benebsiny
617ec61627 Link Project to Repository or Team Command 2024-01-19 02:37:23 +08:00
dependabot[bot]
32ab65fd77
build(deps): bump actions/cache from 3 to 4 (#8594)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-01-18 07:37:49 -08:00
Raj Hawaldar
76ec5d5454
Add force flag to setup-git command (#8552)
Co-authored-by: William Martin <williammartin@github.com>
2024-01-18 13:28:37 +01:00
William Martin
89b5dbc2b7
Merge pull request #8589 from fpistm/typo_fix
Fix some typos raised by codespell
2024-01-18 12:42:05 +01:00
Florian Forster
7164f6e225
fix: Prevent nil dereference in pr view. (#8566)
The API may return a `null` project, maybe related to "legacy projects". This
is translated to a nil pointer in Go. When accessing `project.Column`, the nil
pointer was dereferenced, causing a segmentation fault.
2024-01-17 22:12:22 +00:00
Shion Ichikawa
29bd9dc6eb
search repos command add usage example for --archived=false (#8391) 2024-01-17 19:53:26 +00:00
Victor Martinez
b62e977c91
Add --json export flags to release list command (#8474) 2024-01-17 10:51:01 -08:00
w1mvy
9dd5805f9c
Add json export flags to variable list command (#8516) 2024-01-17 10:09:09 -08:00
dependabot[bot]
8cfe7572de
build(deps): bump actions/download-artifact from 3 to 4 (#8466)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  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>
2024-01-17 10:04:40 -08:00
dependabot[bot]
44cac16be1
build(deps): bump actions/upload-artifact from 3 to 4 (#8467)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  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>
2024-01-17 10:02:54 -08:00
Heath Stewart
cf483770c9
Remove project JSON formatting objects (#8541) 2024-01-17 17:56:58 +00:00
Frederic Pillon
55d251ac51 Fix some typos raised by codespell
With .codespellignore containing:
aline
commitish
messag
noes
nwo
parth
prfiles
runn
timere
ue
welp

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
2024-01-17 15:34:49 +01:00
Wésley Guimarães
57f6787c15
Add Webi as an option for installation (#8555) 2024-01-15 13:05:06 +01:00
Greggory Rothmeier
7ced1227f9
Align devcontainer Go version with go.mod (#8570) 2024-01-12 13:58:56 -08:00
David Gardiner
e0f31b3932
Merge pull request #8569 from dmgardiner25/fix-codespaces-token-permissions
Move create codespace permission opt out behind `else` to fix token permissions
2024-01-12 13:31:06 -08:00
David Gardiner
20273d1f17 Move create codespace permission opt out behind else to fix token permissions 2024-01-12 12:16:38 -08:00
ihmpavel
72b6dc5d8c
chore: Unify calling gh in examples (#8560) 2024-01-11 09:07:23 -08:00
Andy Feller
e9fabfe9a9
Merge pull request #8479 from muzimuzhi/docs/backquote-gh-config
Backquote settings in `gh-config` docs
2024-01-10 08:18:25 -05:00
Sam Coe
785a340f78
Prevent downloading releases with assets that match windows reserved filenames (#8517)
* Prevent downloading releases with assets that match windows reserved filenames

* Add comment noting potential use of build constraints in the future
2024-01-09 09:53:57 -08:00
Heath Stewart
0cf5d22ead
Support template, jq flags with standard format flag (#7832)
* Use standard JSON flags for project command

Deprecates the --format flag and adds the standard JSON flags to properly filter, template, and write JSON.

* Add format flags cmdutil

Resolves PR feedback

* Remove unnecessary fields from JSON format flags

* Add standard format help to remaining commands

* Add JSON format regression tests

Also fixed a number of `project` commands that didn't format the right object as JSON.

* Resolve PR feedback
2024-01-09 09:46:39 -08:00
Andy Feller
b8a1ff6e70
Merge pull request #8542 from cli/andyfeller-patch-1
Remove redundant MSI signing environment variables typo
2024-01-08 08:59:48 -05:00
Andy Feller
48f5a15e0d
Update deployment.yml
Removed previous deployment step env vars
2024-01-08 08:48:55 -05:00
Yukai Chou
c73f41b32e Mark-up gh-config settings with backticks 2024-01-08 02:05:40 +08:00
Andy Feller
586eb8b865
Merge pull request #8453 from samueldurantes/samueldurantes/browse-help-message
Add more help message to browse command
2024-01-05 10:19:51 -05:00
Samuel Durante
109458cf66
Update pkg/cmd/browse/browse.go
Co-authored-by: Andy Feller <andyfeller@github.com>
2024-01-05 10:53:15 -04:00
dependabot[bot]
d35ef85e31
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#8473)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 11:44:29 -08:00
Andy Feller
541ce0e5b4
Merge pull request #8465 from cli/andyfeller/213-windows-hsm-signing
Update deployment workflow for final HSM solution
2023-12-15 11:52:35 -05:00
Andy Feller
98f7ec0b63 Ensure Windows sign script fails based on signtool
This is a change based on PR discussion about ensuring the sign script fails if signtool errors, passing the last exit code from the called command as the result of the script.

For more information, see https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_automatic_variables?view=powershell-7.4#lastexitcode
2023-12-15 11:39:38 -05:00
Andy Feller
c626f9039b
Merge pull request #8459 from benebsiny/cli-8009
Verify the downloaded zip for `gh run view --log`
2023-12-15 08:41:09 -05:00
William Martin
9b4c06f0b2
Merge pull request #8463 from cli/dependabot/github_actions/github/codeql-action-3
build(deps): bump github/codeql-action from 2 to 3
2023-12-15 14:34:06 +01:00
Andy Feller
5ecdf166fb Update deployment workflow for final HSM solution
This applies the changes from the separate Windows HSM signing prototype development to the official deployment workflow including:

1. Use of Azure Code Signing client
2. Sourcing signtool.exe from runner
3. Moving from batch to PowerShell for Windows signing script
4. Using the same signing process for .exe and .msi
2023-12-14 13:15:38 -05:00
Andy Feller
441beb9de3 Fix signtool invocation 2023-12-14 11:42:34 -05:00
Andy Feller
ed573a1eb8 Fix sign script fail conditions
There is a bug in the sign.ps1 script as the opposite comparison operators were used.
2023-12-14 11:29:37 -05:00
Andy Feller
8861f95b9e Fix HSM goreleaser calling sign script 2023-12-14 11:14:23 -05:00
Andy Feller
6a96de14bf Fix HSM Windows signing 2023-12-14 11:02:28 -05:00
Andy Feller
3a476b81cb
Merge pull request #8464 from cli/andyfeller/213-windows-hsm-signing-testing
Fix issue sourcing signtool for Windows signing
2023-12-14 10:08:38 -05:00
Andy Feller
3790262123 Fix issue sourcing signtool for Windows signing
Workflow is currently breaking because there are multiple versions of signtool
installed on runners.  We face a challenge where we either hardcode this to a
specific version on the runner or always choose the latest version; this change
does the latter.
2023-12-14 09:50:29 -05:00
dependabot[bot]
1df8e833c7
build(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-14 14:24:28 +00:00
Andy Feller
29f409666e
Merge pull request #8457 from cli/andyfeller/213-windows-hsm-signing-testing
Enhance HSM deployment prototype to use the same signing process for .exe and .msi
2023-12-14 07:10:13 -05:00
EBIBO
be81f9f0cb
Merge branch 'trunk' into cli-8009 2023-12-13 12:56:26 -05:00
benebsiny
0b73f2af86 Verify the downloaded zip for gh run view --log 2023-12-14 01:54:16 +08:00
Andy Feller
d3d4a681f2 Add missing PowerShell file from previous commit 2023-12-13 10:21:02 -05:00