diff --git a/.github/workflows/reusable_node_lint_test.yml b/.github/workflows/reusable_node_lint_test.yml index db7c00f..081ca71 100644 --- a/.github/workflows/reusable_node_lint_test.yml +++ b/.github/workflows/reusable_node_lint_test.yml @@ -28,6 +28,10 @@ on: type: string required: false default: 'npm publish' + run-changesets: + description: 'Run Changesets Release Action' + type: boolean + default: false jobs: build: @@ -57,6 +61,12 @@ jobs: if: ${{ inputs.run-build }} run: npm run build + - name: Create Release Pull Request + if: ${{ inputs.run-changesets }} + uses: changesets/action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Publish package if: ${{ inputs.publish }} run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index d6810ce..8267706 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG + +## 0.11.0 + +- reusable_node_lint_test: Support changesets release action + ## 0.10.2 - Add inputs to allow Trivy failing: trivy_failable