tektoncd / cli

A CLI for interacting with Tekton!
Apache License 2.0
428 stars 246 forks source link

pre-commit on cli repo is broken #2303

Closed chmouel closed 4 months ago

chmouel commented 5 months ago
% pre-commit run -a
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
check for added large files..............................................Passed
check toml...........................................(no files to check)Skipped
check that scripts with shebangs are executable..........................Passed
check json...........................................(no files to check)Skipped
check vcs permalinks.....................................................Failed
- hook id: check-vcs-permalinks
- exit code: 1

RELEASE_PROCESS.md:9:- You need to have [these tools](https://github.com/tektoncd/cli/blob/main/tekton/release.sh#L13y) installed locally.
RELEASE_PROCESS.md:58:  * Make sure you get the proper `sha256sum`. You need to download the `Source Code (tar.gz)` from this [link](https://github.com/Homebrew/homebrew-core/blob/master/Formula/tektoncd-cli.rb#L4), but replace the version number with the version number you have released. After downloading, run the command below on the downloaded file (once again you will need to replace the version shown below with the released version):

Non-permanent github link detected.
On any page on github press [y] to load a permalink.
choco/README.md:33:* Edit the version property in [`tektoncd-cli.nuspec`](https://github.com/tektoncd/cli/blob/main/choco/tektoncd-cli.nuspec#L5) to the latest available version of `tkn`. 
choco/README.md:34:* Change the [version in the download url for the Windows `tkn` zip](https://github.com/tektoncd/cli/blob/main/choco/tools/chocolateyinstall.ps1#L4) to the latest available version of `tkn`. 
choco/README.md:35:* Update the [checksum for the package](https://github.com/tektoncd/cli/blob/main/choco/tools/chocolateyinstall.ps1#L11) by getting the sha256 of the zip file. Example: `Get-FileHash '.\tkn_0.36.0_Windows_x86_64.zip'`. The zip can be downloaded using the release download url from GitHub; just remember to change the version numbers in the url: https://github.com/tektoncd/cli/releases/download/v0.36.0/tkn_0.36.0_Windows_x86_64.zip.

Non-permanent github link detected.
On any page on github press [y] to load a permalink.

detect private key.......................................................Passed
Lint GO..................................................................Passed
Unit testing.............................................................Passed
Lint YAML................................................................Passed