Skip to content

Commit

Permalink
fix(release-notes-preview): allow to specify semantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Jun 1, 2023
1 parent a1d13bb commit 3d46f53
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 5 additions & 4 deletions release-notes-preview/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
## Inputs
| parameter | description | required | default |
| ------------- | --------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
| extra-plugins | Extra plugins for pre-install. You can also specify specifying version range for the extra plugins if you prefer. | `false` | |
| github-token | GitHub token that can checkout the repository as well as create tags/releases against it. e.g. 'secrets.GITHUB_TOKEN' | `true` | |
| parameter | description | required | default |
| ---------------- | --------------------------------------------------------------------------------------------------------------------- | -------- | ------- |
| extra-plugins | Extra plugins for pre-install. You can also specify specifying version range for the extra plugins if you prefer. | `false` | |
| github-token | GitHub token that can checkout the repository as well as create tags/releases against it. e.g. 'secrets.GITHUB_TOKEN' | `true` | |
| semantic-version | Specify what version of semantic release to use | `false` | |

## Outputs

Expand Down
4 changes: 4 additions & 0 deletions release-notes-preview/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ inputs:
extra-plugins:
required: false
description: Extra plugins for pre-install. You can also specify specifying version range for the extra plugins if you prefer.
semantic-version:
required: false
description: Specify what version of semantic release to use
runs:
using: composite
steps:
Expand All @@ -38,6 +41,7 @@ runs:
ci: false
dry_run: true
extra_plugins: ${{ inputs.extra-plugins }}
semantic_version: ${{ inputs.semantic-version }}
- name: Check for release notes comment
uses: peter-evans/find-comment@v2
id: fc
Expand Down

0 comments on commit 3d46f53

Please sign in to comment.