Releases: JasonEtco/actions-toolkit
v1.2.0
New features
tools.store
Your actions can store information in a file that is passed to the next actions in a workflow. It's a modified instance of flat-cache
- note that the API is a little different:
tools.store.get('foo')
tools.store.set('foo', 'bar')
What’s Changed
- Add LABELs to the Dockerfile (#26) @JasonEtco
- Release workflow (#29) @JasonEtco
- Add add-an-issue-reference-action to usage list (#31) @kentaro-m
- Add a key/value store in a file (#30) @JasonEtco
v1.1.1
What’s Changed
- Added LABELs and comments to the Dockerfile (#26) @JasonEtco
v1.1.0
New feature
Bootstrap a new action by running the following:
npx actions-toolkit <name>
This will give you a Dockerfile and a .js
file with actions-toolkit
ready to go.
What’s Changed
- Release 1.0.0 (#21) @JasonEtco
- Remove @octokit/webhooks (#22) @JasonEtco
- Add note about GraphQL requests (#23) @JasonEtco
- CLI to bootstrap new Actions (#24) @JasonEtco
- Release 1.1.0 (#25) @JasonEtco
v1.0.0
This release mostly centers around the Octokit client. It updates to a new major version of @octokit/rest
, which puts this library more in line with their docs.
New features
tools.github.graphql
A pre-authenticated instance of @octokit/graphql
, for all your GraphQL needs!
Breaking changes
tools.createOctokit()
=> tools.github
In practice, creating a new Octokit client isn't necessary 99% of the time, so this release changes it to be a single pre-authenticated instance.
// Before
const octokit = tools.createOctokit()
octokit.issues.create()
// After
tools.github.issues.create()
What’s Changed
- Fix type exports (#6) @JasonEtco
- Adding Actions to Usage list (#7) @lannonbr
- Update devDependencies (#9) @JasonEtco
- Updating Action name (#10) @lannonbr
- Add documentation for tools#getFile (#13) @JasonEtco
- Updating tools.arguments docs to show usage with .workflow file (#16) @lannonbr
- Update Octokit (#19) @JasonEtco
- Add a table of contents (#20) @JasonEtco
- Release 1.0.0 (#21) @JasonEtco
v0.0.4
What’s Changed
- Fix type exports (#6) @JasonEtco
Better documentation
All of the docs were moved out of the docs
folder, and into the README. This allows for better discoverability, and while its a little more work to maintain, it's a lot easier to control.
v0.0.3
What’s Changed
- Add "using" section (#1) @JasonEtco
- Install Release-Drafter (#3) @JasonEtco
- Support for arguments (#4) @JasonEtco
Arguments
You can now access the arguments passed to your action via toolkit.arguments
! This uses minimist
to parse the arguments into a nicely consumable object.