This GitHub action generates previews of NPM package version bumps and changelogs when used in conjunction with Monoweave.
- uses: monoweave/github-action-preview@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
You will need to grant GitHub Actions the ability to comment on pull requests, e.g.:
permissions:
pull-requests: write
issues: write
Name | Description | Default |
---|---|---|
token |
GITHUB_TOKEN or PAT with ability to comment on pull requests. |
${{ github.token }} |
monoweave-command |
The monoweave executable to run. | yarn monoweave |
preview-comment-title |
Title of preview comment on pull request. | Package Release Preview |
no-changes-message |
Message to comment if no changes are detected. | See action.yaml for default. |