Skip to content

Commit

Permalink
feat(lint): add semantic-release-extra-plugins input
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Jan 3, 2024
1 parent 1b71cdb commit d36e472
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ This action runs the following lint checks:
| checkout-repo | Perform checkout as first step of action | `false` | true |
| github-token | GitHub token that can create/delete comments. Usually - 'secrets.GITHUB_TOKEN' | `true` | |
| node-version | Node version to use | `false` | 18 |
| semantic-release-extra-plugins | Extra plugins for pre-install when linting the release notes. You can also specify specifying version range for the extra plugins if you prefer. Defaults to install @open-turo/semantic-release-config. | `false` | @open-turo/semantic-release-config |
<!-- action-docs-inputs -->

<!-- action-docs-outputs -->
Expand Down
7 changes: 7 additions & 0 deletions lint/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ inputs:
required: false
description: Node version to use
default: "18"
semantic-release-extra-plugins:
required: false
description: Extra plugins for pre-install when linting the release notes. You can also specify specifying version range for the extra plugins if you prefer. Defaults to install @open-turo/semantic-release-config.
default: |
@open-turo/semantic-release-config
runs:
using: composite
steps:
Expand Down Expand Up @@ -41,3 +46,5 @@ runs:
- name: Check release notes on pull_request
if: github.event_name == 'pull_request'
uses: open-turo/actions-release/lint-release-notes@v4
with:
extra-plugins: ${{ inputs.semantic-release-extra-plugins }}

0 comments on commit d36e472

Please sign in to comment.