diff --git a/lint/README.md b/lint/README.md index 91d6dbc..660a0e8 100644 --- a/lint/README.md +++ b/lint/README.md @@ -67,6 +67,7 @@ This action runs the following lint checks: | `s3-bucket-name` |

S3 bucket name to cache node_modules to speed up dependency installation.

| `false` | `""` | | `s3-bucket-region` |

S3 bucket region to cache node_modules to speed up dependency installation.

| `false` | `""` | | `pre-commit-stage` |

Set this to run pre-commit against a specific stage of the pre-commit hooks.

| `false` | `""` | +| `extra-plugins` |

Extra plugins for semanitc-release in lint-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 ` | diff --git a/lint/action.yaml b/lint/action.yaml index 0d47b69..a170bd9 100644 --- a/lint/action.yaml +++ b/lint/action.yaml @@ -32,6 +32,12 @@ inputs: pre-commit-stage: required: false description: Set this to run pre-commit against a specific stage of the pre-commit hooks. + extra-plugins: + required: false + description: Extra plugins for semanitc-release in lint-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: @@ -83,3 +89,5 @@ runs: env: NPM_AUTH_TOKEN: ${{ inputs.npm-auth-token }} NPM_TOKEN: ${{ inputs.npm-token }} + with: + extra-plugins: ${{ inputs.extra-plugins }}