Releases: suzuki-shunsuke/github-comment
v6.3.0
Pull Requests | Issues | v6.2.1...v6.3.0
Features
#1566 exec: Add the option -out
to output the result to text files
https://suzuki-shunsuke.github.io/github-comment/output-file
Instead of posting a comment to a GitHub Issue or Pull Request, you can output the result to a text file using github-comment exec
's -out
option.
This is useful to output the result of GitHub Actions workflow_dispatch
or schedule
events to $GITHUB_STEP_SUMMARY.
e.g.
github-comment exec -out "file:$GITHUB_STEP_SUMMARY" -- npm test
You can post both GitHub and a file.
e.g.
github-comment exec -out github -out "file:$GITHUB_STEP_SUMMARY" -- npm test
The value of -out
must be either github
or file:<file path>
.
If a given file doesn't exist, the file is created.
Otherwise, the content is appended.
v6.3.0-1
Pull Requests | Issues | v6.2.1...v6.3.0-1
Changelog
- deb78ca chore: update cmdx tasks
- ec11f8c chore(deps): update dependency aquaproj/aqua-registry to v4.230.0 (#1567)
- 8b6e781 feat(exec): support the option -out (#1566)
- 0832d9d chore(deps): update dependency suzuki-shunsuke/ghalint to v1 (#1562)
- 54ce4b5 fix(deps): update module github.com/google/go-github/v65 to v66 (#1565)
- 7e59569 chore(deps): update dependency aquaproj/aqua-registry to v4.229.0 (#1563)
- 99e139b fix(deps): update module golang.org/x/term to v0.25.0 (#1561)
v6.2.1
Pull Requests | Issues | v6.2.0...v6.2.1
Others
#1560 Update Go to 1.23.2
#1545 Create GitHub Artifact Attestations
https://github.com/suzuki-shunsuke/github-comment/attestations
You can verify downloaded assets from GitHub Releases using GitHub CLI.
gh release download -R suzuki-shunsuke/github-comment v6.2.1 -p github-comment_6.2.1_darwin_arm64.tar.gz
gh attestation verify github-comment_6.2.1_darwin_arm64.tar.gz \
-R suzuki-shunsuke/github-comment \
--signer-workflow suzuki-shunsuke/go-release-workflow/.github/workflows/release.yaml
v6.2.1-1
v6.2.0
Pull Requests | Issues | v6.1.0...v6.2.0
Features
#1490 Get GitHub API endpoints from environment variables GITHUB_API_URL
and GITHUB_GRAPHQL_URL
About these environment variables, please see the document.
- GitHub Enterprise Server: https://docs.github.com/en/enterprise-server@3.13/actions/writing-workflows/choosing-what-your-workflow-does/variables
- GitHub Enterprise Cloud: https://docs.github.com/en/enterprise-cloud@latest/actions/writing-workflows/choosing-what-your-workflow-does/variables
- GitHub (github.com): https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/variables
If you use GitHub Enterprise Server, you had to configure ghe_base_url
and ghe_graphql_endpoint
in the configuration file.
https://suzuki-shunsuke.github.io/github-comment/github-enterprise
From this release, github-comment gets these variables from environment variables GITHUB_API_URL
and GITHUB_GRAPHQL_URL
.
They are GitHub Actions' built in environment variables, so you don't have to set them in GitHub Actions.
v6.2.0-1
Pull Requests | Issues | v6.1.0...v6.2.0-1
Changelog
- df16aa7 feat: get GitHub API endpoints from environment variables
- 3f99b43 chore(deps): update dependency aquaproj/aqua-registry to v4.208.1 (#1488)
- eb22db3 chore(deps): update aquaproj/update-checksum-workflow action to v1.0.2 (#1487)
- 25138ad fix(deps): update module github.com/urfave/cli/v2 to v2.27.3 (#1483)
- c9e217d chore(deps): update dependency aquaproj/aqua-registry to v4.208.0 (#1484)
- 1d1a188 chore(deps): update suzuki-shunsuke/go-release-workflow action to v1.1.0 (#1485)
- be4f612 chore(deps): update suzuki-shunsuke/go-test-workflow action to v1.1.0 (#1486)
- 7e40592 chore(deps): update dependency aquaproj/aqua-registry to v4.207.0 (#1482)
- 7667993 chore(deps): update dependency sigstore/cosign to v2.3.0 (#1481)
- d3829db chore(deps): update dependency aquaproj/aqua-registry to v4.206.0 (#1480)
- 92c9375 chore(deps): update dependency aquaproj/aqua-registry to v4.205.0 (#1479)
- cce58e1 chore(deps): update dependency aquaproj/aqua to v2.30.0 (#1478)
- 75ea42c chore(deps): update dependency aquaproj/aqua-registry to v4.204.0 (#1477)
- 2a2dfdc chore(deps): update dependency reviewdog/reviewdog to v0.20.1 (#1476)
- bc9cc34 chore(deps): update dependency aquaproj/aqua to v2.29.2 (#1475)
- f570cdc chore(deps): update dependency aquaproj/aqua to v2.29.1 (#1474)
v6.1.0
Pull Requests | Issues | v6.0.4...v6.1.0
Features
#1468 #1473 Post comments to a pull request if the workflow run is triggered via GitHub Actions' merge_group event
Others
Update Go to 1.22.5
v6.1.0-1
v6.0.4
Pull Requests | Issues | v6.0.3...v6.0.4
Bug Fixes
#1302 Fix the file permission of github-comment.yaml
created by github-comment init
Change the permission from 0755 to 0644.
Others
Update dependencies
Go 1.21.5 to 1.22.1
v6.0.3
Pull Requests | Issues | v6.0.2...v6.0.3
Bug Fixes
#1188 fix(init): fix a bug that a newline is missing at the end of the scaffolded file github-comment.yaml
Others
- Dependency updates
- Refactoring