Skip to content

Commit

Permalink
chore: fix release (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersondanilo committed May 1, 2022
1 parent edce7bd commit db12551
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && !contains(github.event.head_commit.message, 'skip ci') }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'skip ci') }}
strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
Expand Down
7 changes: 6 additions & 1 deletion commitlint.config.js
@@ -1 +1,6 @@
module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'footer-max-line-length': [1, 'always', 100]
}
}
1 change: 1 addition & 0 deletions release.config.js
Expand Up @@ -20,6 +20,7 @@ module.exports = {
"@semantic-release/git",
{
assets: ["CHANGELOG.md", "package.json", "docs"],
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
},
],
"@semantic-release/github",
Expand Down

0 comments on commit db12551

Please sign in to comment.