mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-01-16 08:37:18 +01:00
fix: Update preset rule on semantic-release to use conventional commits (#1736)
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -10,6 +10,7 @@ on:
|
|||||||
- '**/*.tpl'
|
- '**/*.tpl'
|
||||||
- '**/*.py'
|
- '**/*.py'
|
||||||
- '**/*.tf'
|
- '**/*.tf'
|
||||||
|
- '.github/workflows/release.yml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
@@ -29,5 +30,6 @@ jobs:
|
|||||||
extra_plugins: |
|
extra_plugins: |
|
||||||
@semantic-release/changelog@6.0.0
|
@semantic-release/changelog@6.0.0
|
||||||
@semantic-release/git@10.0.0
|
@semantic-release/git@10.0.0
|
||||||
|
conventional-changelog-conventionalcommits@4.6.3
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
- repo: https://github.com/antonbabenko/pre-commit-terraform
|
||||||
rev: v1.62.0
|
rev: v1.62.3
|
||||||
hooks:
|
hooks:
|
||||||
- id: terraform_fmt
|
- id: terraform_fmt
|
||||||
- id: terraform_validate
|
- id: terraform_validate
|
||||||
@@ -23,7 +23,7 @@ repos:
|
|||||||
- '--args=--only=terraform_standard_module_structure'
|
- '--args=--only=terraform_standard_module_structure'
|
||||||
- '--args=--only=terraform_workspace_remote'
|
- '--args=--only=terraform_workspace_remote'
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-merge-conflict
|
- id: check-merge-conflict
|
||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
|
|||||||
@@ -5,13 +5,22 @@
|
|||||||
],
|
],
|
||||||
"ci": false,
|
"ci": false,
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@semantic-release/commit-analyzer",
|
[
|
||||||
"@semantic-release/release-notes-generator",
|
"@semantic-release/commit-analyzer",
|
||||||
|
{
|
||||||
|
"preset": "conventionalcommits"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"@semantic-release/release-notes-generator",
|
||||||
|
{
|
||||||
|
"preset": "conventionalcommits"
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/github",
|
"@semantic-release/github",
|
||||||
{
|
{
|
||||||
"successComment":
|
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
|
||||||
"This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
|
|
||||||
"labels": false,
|
"labels": false,
|
||||||
"releasedLabels": false
|
"releasedLabels": false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user