Skip to content

notarize/fill-jira-ticket

Repository files navigation

This action was originally created here: https://github.com/Jasmeet107/fill-jira-ticket and moved to notarize org on 3/10

GitHub Actions status

Code in Master

Install the dependencies

$ npm install

Run the tests ✔️

$ npm test

 PASS  ./index.test.js
  ✓ throws invalid number (3ms)
  ✓ wait 500 ms (504ms)
  ✓ test runs (95ms)

...

Change action.yml

The action.yml contains defines the inputs and output for your action.

Update the action.yml with your name, description, inputs and outputs for your action.

See the documentation

Change the Code

See the toolkit documentation for the various packages.

Publish to a distribution branch

Actions are run from GitHub repos. We will create a feature branch and only checkin production modules.

$ git checkout -b $feature_branch
$ git commit -a -m "prod dependencies"
$ bin/rebuild-for-deploy.sh
$ git add node_modules package-lock.json
$ git commit -a -m "prod dependencies"
$ git push origin $feature_branch

Now put in a PR, merge, and tag the release.

See the versioning documentation

Validate

You can now validate the action by referencing the releases/v1 branch

uses: notarize/fill-jira-ticket@v9
with:
  repo-token: ${{ secrets.github_token }}

See the actions tab for runs of this action! 🚀

Usage:

After testing you can create a tag to reference the stable and tested action

uses: notarize/fill-jira-ticket@v9
with:
  repo-token: ${{ secrets.github_token }}