diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7424b3f..c4570c2 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -6,7 +6,7 @@ on: jobs: docs: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip docs]')" + if: "contains(github.event.head_commit.message, 'chore(release)')" steps: - name: Checkout uses: actions/checkout@v3 diff --git a/pages/configuration_files.md b/pages/configuration_files.md index 4579849..92e4e78 100644 --- a/pages/configuration_files.md +++ b/pages/configuration_files.md @@ -126,12 +126,12 @@ simple-scaffold -c [#][:] For example, to use this repository's example as base: ```shell -simple-scaffold -c https://github.com/chenasraf/simple-scaffold.git#examples/test-input/scaffold.config.js:component +simple-scaffold -c https://github.com/chenasraf/simple-scaffold.git#scaffold.config.js:component ``` -When the filename is omitted, `/scaffold.config.js` will be used as default. +When the `filename` is omitted, `/scaffold.config.js` will be used as default. -When the template_key is ommitted, `default` will be used as default. +When the `template_key` is ommitted, `default` will be used as default. ### GitHub Templates @@ -147,7 +147,7 @@ simple-scaffold -gh /[#][:] This example is equivalent to the above, just shorter to write: ```shell -simple-scaffold -c chenasraf/simple-scaffold#examples/test-input/scaffold.config.js:component +simple-scaffold -c chenasraf/simple-scaffold#scaffold.config.js:component ``` ## Use In Node.js diff --git a/release.config.js b/release.config.js index 6557dd0..13f5e26 100644 --- a/release.config.js +++ b/release.config.js @@ -5,24 +5,8 @@ module.exports = { path: "semantic-release-conventional-commits", }, plugins: [ - [ - "@semantic-release/commit-analyzer", - { - preset: "conventionalcommits", - parserOpts: { - noteKeywords: ["breaking:", "breaking-fix:", "breaking-feat:"], - }, - }, - ], - [ - "@semantic-release/release-notes-generator", - { - preset: "conventionalcommits", - parserOpts: { - noteKeywords: ["breaking", "major"], - }, - }, - ], + "@semantic-release/commit-analyzer", + "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", {