A GitHub Action that report changelog urls of updated NPM package.
The action works only with pull_request event.
githubToken- The GITHUB_TOKEN secret.npmToken- A API token of npmjs.org. Required type isRead-only(optional)lockPath_ Lock file path. (default:yarn.lock)onlySpecifiedPackages- Only to packages specified inpackage.json. (default:false)
name: NPM ChangeLog
on:
pull_request:
paths:
- "yarn.lock"
jobs:
npm_changelog:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: kzkn/npm-changelog-url-action@v2
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}