chore(deps): update dependency suzuki-shunsuke/pinact to v3 #909
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.6.0
->v3.0.3
Release Notes
suzuki-shunsuke/pinact (suzuki-shunsuke/pinact)
v3.0.3
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v3.0.2...v3.0.3
Changelog
307194e
chore(deps): update dependency suzuki-shunsuke/cmdx to v2.0.1 (#891)4b53515
ci: use rgo (#890)2bd5498
chore(deps): update dependency aquaproj/aqua to v2.48.1 (#888)08f34b1
chore(deps): update dependency suzuki-shunsuke/pinact to v3.0.2 (#887)v3.0.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v3.0.1...v3.0.2
Features
#884 Add
version
's-json
optionFixes
#886 Fix Go module path github.com/suzuki-shunsuke/pinact/v2 => github.com/suzuki-shunsuke/pinact/v3
Others
#875 Update urfave/cli/v2 to v3
v3.0.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v3.0.0...v3.0.1
Fixes
#865 Fix typo and add links to documents to error logs
v3.0.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.2.1...v3.0.0
⚠ Breaking Changes
#855 Change the default schema version to 3 and abandon the version 2
.files[].pattern
is changed from regular expression to glob pattern.ignore_actions[].ref
gets required.version
gets requiredHow To Migrate
pinact migrate
command to fix pinact configuration file.files[].pattern
.ignore_actions[].name
and.ignore_actions[].ref
Regular expressions must match exactly.
For instance,
name: actions/
doesn't matchactions/checkout
.You need to fix this to
actions/.*
if you want to ignore all actions underactions
organization.Why are these breaking changes necessary?
To improve the security.
You should restrict ignored action versions as much as possible.
To migrate configuration automatically.
To improve the security.
Partial match can cause potential security issues.
For instance,
ref: main
matchesmalicious-main
with pinact v2.1.0.Probably this is undesirable. And it's hard to find this issue.
As of pinact v3,
ref: main
matches with onlymain
.Note
v2.2.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.2.0...v2.2.1
🐛 Bug Fixes
#860 Fix a bug tha
pinact run
's--check
option doesn't workv2.2.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.1.0...v2.2.0
Features
#851 Add
migrate
command and support the configuration file schemaWe're going to release pinact v3.
pinact v3 includes breaking changes of pinact configuration file.
To allow you to migrate to v3 easily, this relase introduced a concept
Configuration schema version
andpinact migrate
command.You can migrate configuration files by
pinact migrate
command, though more manual modification may be necessary.The default schema version is
2
, and the latest schema version is3
.The version
2
is compatible with previous versions.pinact v3 will require the version schema definition and abandon the support of version
2
.For more details, please see the issue. https://github.com/suzuki-shunsuke/pinact/issues/852
🐛 Bug Fixes
#853 Fix Go Module Path
v2.1.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.0.4...v2.1.0
Features
#840 Add
ignore_actions[].ref
in config @yuya-takeyamaYou can now restrict versions of ignored action using a regular expression.
e.g.
ref
is optional.If you omit
ref
, all versions are ignored. This can be dangerous in certain scenarios:For example, if you have an internal action like this:
And you ignore it without ref restriction:
Then any branch in the repository could be used, potentially containing malicious code.
However, if you restrict it to
main
:You ensure that only the
main
branch (which typically has proper review processes and branch protection rules) is trusted.v2.0.4
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.0.3...v2.0.4
Fixes
#834 Output warning instead of returning error when a long tag isn't found
v2.0.3
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.0.2...v2.0.3
🐛 Bug Fixes
#833 Configuration file's
files.pattern
doesn't work on Windows @mika-fv2.0.2
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.0.0...v2.0.2
Others
#829 #830 Release pinact to suzuki-shunsuke/scoop-bucket
You can now install pinact using Scoop.
https://github.com/suzuki-shunsuke/scoop-bucket/blob/main/pinact.json
v2.0.1
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v2.0.0...v2.0.1
v2.0.0
Compare Source
Pull Requests | Issues | suzuki-shunsuke/pinact@v1.6.0...v2.0.0
#823 Make
pinact run
fail if it can't pin some actionsThis release changes the behaviour of
pinact run
when it can't pin some actions.Previously, pinact succeeded even if it couldn't pin some actions.
For instance, pinact can't pin action whose version is a branch such as
main
andmaster
.As of this release,
pinact run
fails if it can't pin some actions.Unlike
--check
option,pinact run
fixes files even if it can't pin some actions.Why is this breaking change necessary?
The problem of pinact v1 is that you can miss actions which specify default branches or feature branches.
To ensure all actions are pinned, this is undesirable.
If you can't pin some actions, you should add them to
ignore_actions
in.pinact.yaml
explicitly.This improves the security of your workflows.
How To Migrate
If you can't pin some actions, you should add them to
ignore_actions
in.pinact.yaml
explicitly.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.