CLI to create and hide GitHub comments
MIT License
Bot releases are visible (Hide)
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v6.0.3...v6.0.4
#1302 Fix the file permission of github-comment.yaml
created by github-comment init
Change the permission from 0755 to 0644.
Update dependencies
Go 1.21.5 to 1.22.1
Published by github-actions[bot] 11 months ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v6.0.2...v6.0.3
#1188 fix(init): fix a bug that a newline is missing at the end of the scaffolded file github-comment.yaml
Published by github-actions[bot] 11 months ago
Published by github-actions[bot] about 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v6.0.1...v6.0.2
Published by github-actions[bot] about 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v6.0.0...v6.0.1
#906 #957 #988 chore: Update Go 1.20.3 to 1.20.6
#1002 refactor: Replace suzuki-shunsuke/go-timeout to exec.CommandContext, Cmd.Cancel, and Cmd.WaitDelay
#1004 fix: Add warning comment for body too long
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.2.1...v6.0.0
#865 #894 Remove the template function Env
for security
We forgot to remove this function in v5.0.0.
Use the option -var
instead of the function Env
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.2.1...v6.0.0-1
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.1.1...v5.2.1
#895 #896 Support passing some command line arguments via environment variables
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.2.0...v5.2.1-1
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.1.1...v5.2.0
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.1.0...v5.1.1
#882 Remove double quotes from the template join_command
This bug affected the following versions.
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.3...v5.1.0
#864 #867 Add the template function WrapCode
#864 #867 Omit the template hidden_combined_output
if hidden_combined_output
is too long
Same as tfcmt's feature.
WrapCode
wraps a given text with <pre><code>
or "```".
WrapCode
omits the text if the text is too long.
It fails to post a comment if the comment is too long because the maximum length of GitHub Comment is 65536.
To prevent the error, the template function WrapCode
checks the length of the text and if the length is over 60000, the text is omitted as the following.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# null_resource.foo will be created
+ resource "null_resource" "foo" {
+ id = (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
null_resource.foo: Creating...
null_resource.foo: Creation complete after 0s [id=8966706083595703589]
# ...
# ... The maximum length of GitHub Comment is 65536, so the content is omitted by github-comment.
# ...
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.3...v5.1.0-1
Published by github-actions[bot] over 1 year ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.2...v5.0.3
#794 Get repository owner and repository name from configuration file before getting associated pull requests
github-comment.yaml
base:
org: suzuki-shunsuke
repo: github-comment
e.g.
$ github-comment hide
WARN[0000] list associated prs error="list associated pull requests: GET https://api.github.com/repos///commits/cc0932be26d0dc94ff42cdbd15c98214836aebef/pulls?per_page=1&sort=updated&state=all: 404 Not Found []" org= repo= sha=cc0932be26d0dc94ff42cdbd15c98214836aebef
opts is invalid: pull request or issue number is required
Due to this bug, the following errors occured in Google Cloud Build.
Published by github-actions[bot] almost 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.1...v5.0.2
#700 Sign a checksum file by Cosign
Published by github-actions[bot] almost 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.2-0...v5.0.2-1
Published by github-actions[bot] almost 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.1...v5.0.2-0
Published by github-actions[bot] almost 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.0...v5.0.1
#684 #685 #687 hide: Pass command line arguments -var
and -var-file
to condition properly
#688 Release SLSA Provenance 🎉
From this release, SLSA Provenance multiple.intoto.jsonl
is released in GitHub Releases.
Published by github-actions[bot] almost 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v5.0.0...v5.0.1-0
Published by github-actions[bot] about 2 years ago
Pull Requests | Issues | https://github.com/suzuki-shunsuke/github-comment/compare/v4.5.2...v5.0.0
#523 Remove features to output environment variables for security
expandenv
, env
, getHostByName
complement
is removed-var
option instead of env
ci
for Google Cloud Build