8000 chore(deps): update dependency suzuki-shunsuke/pinact to v3.3.0 by renovate[bot] · Pull Request #127 · csm-actions/securefix-action · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore(deps): update dependency suzuki-shunsuke/pinact to v3.3.0 #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 19, 2025

Conversation

renovate[bot]
Copy link
Contributor
@renovate renovate bot commented Jun 19, 2025

This PR contains the following updates:

Package Update Change
suzuki-shunsuke/pinact minor v3.0.5 -> v3.3.0

Release Notes

suzuki-shunsuke/pinact (suzuki-shunsuke/pinact)

v3.3.0

Compare Source

Pull Requests | Issues | suzuki-shunsuke/pinact@v3.2.0...v3.3.0

Features

#​1007 Support creating pull request reviews
#​1007 Support outputting diff
#​1007 Support fixing code while using -check option

Support creating pull request reviews

review

This pull request enables pinact to create reviews by GitHub API.
A GitHub access token with pull_requests:write permission is required.

pinact run \
  -review \
  -repo-owner <repository owner> \
  -repo-name <repository name> \
  -pr <pull request number> \
  -sha <commit SHA to be reviewed>

If pinact is run via GitHub Actions pull_request event, options (-repo-owner, -repo-name, -pr, -sha) are auto-completed.

[!WARNING]
GitHub can't create pull request reviews on files not changed by the pull request.
When pinact fails to create reviews, pinact outputs warning and creates GitHub Actions error messages to log instead.
You can ignore the warning like this:

WARN[0004] create a review comment                       error="create a review comment: POST https://api.github.com/repos/szksh-lab-2/test-github-action/pulls/317/comments: 422 Validation Failed [{Resource:PullRequestReviewComment Field:pull_request_review_thread.path Code:invalid Message:} {Resource:PullRequestReviewComment Field:pull_request_review_thread.diff_hunk Code:missing_field Message:}]" line="      - uses: suzuki-shunsuke/watch-star-action@feat/first-pr" line_number=14 pinact_version=3.3.0-5 program=pinact review_pr_number=317 review_repo_name=test-github-action review_repo_owner=szksh-lab-2 review_sha=92f0b04efdc10acb793e78bdd1f70958dd3fd9a3 workflow_file=.github/workflows/watch.yaml

error-message-log

Support outputting diff

Using -diff option, pinact can output diff.

pinact run -diff
ERROR action isn't pinned
.github/workflows/test.yaml:14
-       - uses: aquaproj/aqua-installer@v4.0.0
+       - uses: aquaproj/aqua-installer@9ebf656952a20c45a5d66606f083ff34f58b8ce0 # v4.0.0
image
Fix code by -fix option

If -check or -diff option is set, pinact doesn't fix code by default.
By setting -fix option, you can fix code.

pinact run -check -fix
pinact run -diff -fix
📝 -diff, -check, -fix options

The behaviour of pinact run command is changed by command line options -diff, -check, and -fix.
This is a table how the behaviour is changed by these options.

options | Fix files | Exit with code 1 if actions aren't pinned | Output changes
--- | --- | --- | ---
No option | o | | |
-check | | o | |
-diff | | | o
-check -diff | | o | o
-check -fix | o | o | o
-fix -diff | o | | o

v3.2.0

Compare Source

Pull Requests | Issues | suzuki-shunsuke/pinact@v3.1.2...v3.2.0

Features

#​1005 Setting error messages in GitHub Actions

https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#setting-an-error-message

image

--

image

v3.1.2

Compare Source

Pull Requests | Issues | suzuki-shunsuke/pinact@v3.1.1...v3.1.2

Fixes

#​980 Change the log level to debug to suppress warning

v3.1.1

Compare Source

Pull Requests | Issues | suzuki-shunsuke/pinact@v3.1.0...v3.1.1

🐛 Bug Fixes

#​968 Fix a bug of version command that it outputs unknown

$ pinact version
unknown

v3.1.0

Compare Source

Pull Requests | Issues | suzuki-shunsuke/pinact@v3.0.5...v3.1.0

Features

#​952 Support managing a GitHub access token using secret store such as Windows Credential Manager, macOS Keychain, and GNOME Keyring

You can now manage a GitHub access token using secret store such as Windows Credential Manager, macOS Keychain, and GNOME Keyring.

  1. Configure a GitHub Access token by pinact token set command:
$ pinact token set
Enter a GitHub access token: # Input GitHub Access token

or you can also pass a GitHub Access token via standard input:

echo "<github access token>" | pinact tokn set -stdin
  1. Enable the feature by setting the environment variable PINACT_KEYRING_ENABLED:
export PINACT_KEYRING_ENABLED=true

Note that if the environment variable GITHUB_TOKEN is set, this feature gets disabled.

You can remove a GitHub Access token from keyring by pinact token rm command:

pinact token rm

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) June 19, 2025 13:54
@renovate renovate bot merged commit 67a74e0 into main Jun 19, 2025
7 checks passed
@renovate renovate bot deleted the renovate/suzuki-shunsuke-pinact-3.x branch June 19, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants
0