/issue_scanner_test

Primary LanguageTypeScriptMIT LicenseMIT

Tidelift Issue Scanner

Does helpful things when issues are opened

build status

Generated from actions/typescript-action

Usage

Retrieve your Tidelift API token and add it as TIDELIFT_TOKEN to your project secrets.

Add a workflow to your project.

# .github/workflow/issue_scanner.yml

name: Tidelift Issue Scanner
on:
  issues:
    types: [opened, edited]

jobs:
  issue_scanner:
    runs-on: ubuntu-latest
    steps:
      - uses: macowie/issue_scanner_test@V1
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          tidelift-token: ${{ secrets.TIDELIFT_TOKEN }}

After testing you can create a v1 tag to reference the stable and latest V1 action

Developing

Install the dependencies

npm install

Run full lint, test, build

npm run all

Run the tests ✔️

npm test

Run the linter ✔️

npm run lint

Publish to a distribution branch

Actions are run from GitHub repos so we will checkin the packed dist folder.

Then run ncc and push the results:

npm run package
git add dist
git commit -a -m "prod dependencies"
git push origin releases/v1

Note: We recommend using the --license option for ncc, which will create a license file for all of the production node modules used in your project.

Your action is now published! 🚀

See the versioning documentation