Skip to content
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

Update dependency actions-toolkit to v3 - autoclosed #11

Conversation

dev-mend-for-github-com[bot]
Copy link

@dev-mend-for-github-com dev-mend-for-github-com bot commented Jan 12, 2025

This PR contains the following updates:

Package Type Update Change
actions-toolkit dependencies major ^2.1.0 -> ^3.0.0

By merging this PR, the issue #8 will be automatically resolved and closed:

Severity CVSS Score CVE Reachability
Medium Medium 5.6 CVE-2020-7598
Low Low 2.6 CVE-2020-15168

Release Notes

JasonEtco/actions-toolkit (actions-toolkit)

v3.0.0

Compare Source

New features

This release brings a lot of new features that are available in the Actions runtime, mostly by wrapping actions/toolkit.

  • tools.inputs is a Proxy instance that lets you access the inputs of your action:
uses: JasonEtco/example-action@master
with:
  foo: bar

You can access those using tools.inputs:

console.log(tools.inputs.foo) // -> 'bar'
  • Toolkit.run will now call core.setFailed upon failure, which sets an annotation to expose the error message more clearly in the GitHub Actions UI.

Breaking changes

  • Toolkit#config has been removed. You should probably use tools.inputs instead!
  • tools.arguments has been removed. You should probably use tools.inputs instead!

What’s Changed


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

@dev-mend-for-github-com dev-mend-for-github-com bot added the security fix Security fix generated by Mend label Jan 12, 2025
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title Update dependency actions-toolkit to v3 Update dependency actions-toolkit to v3 - autoclosed Jan 14, 2025
@dev-mend-for-github-com dev-mend-for-github-com bot deleted the whitesource-remediate/actions-toolkit-3.x branch January 14, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by Mend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants