Skip to content

Commit

Permalink
chore: prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
sthuber90 committed Dec 15, 2022
1 parent 7c35aba commit c76aa38
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 21 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Release
on: push
# push:
# branches:
# - master
on:
push:
branches:
- main
jobs:
release:
name: Release
Expand All @@ -15,10 +15,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release
run: npx semantic-release
6 changes: 3 additions & 3 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"branches": ["main", "1-setting-individual-terraform-rules-compared-to-using-terraform-plugin-with-recommended-settings"],
"branches": ["main"],
"plugins": [
[
"@semantic-release/changelog",
Expand All @@ -13,8 +13,8 @@
"@semantic-release/github",
{
"assets": [
{ "path": "tflint.hcl", "label": ".tflint.hcl" },
{ "path": "tflint-all.hcl", "label": ".tflint-all.hcl" }
{ "path": ".tflint.hcl", "label": ".tflint.hcl" },
{ "path": ".tflint-all.hcl", "label": ".tflint-all.hcl" }
]
}
],
Expand Down
12 changes: 0 additions & 12 deletions CHANGELOG.md

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@ The Terraform rules can be found on [GitHub](https://github.com/terraform-linter
- **[terraform_naming_convention]()** Enforces naming conventions for resources, data sources, etc
- **[terraform_standard_module_structure]()** Ensure that a module complies with the Terraform Standard Module Structure
- **[terraform_unused_required_providers]()** Check that all `required_providers` are used in the module

## Contribution
Contribution is welcome. Please use [conventional commit](https://www.conventionalcommits.org) messages for your commits and pull request titles.
Through GitHub Actions the CHANGELOG gets updated, tag created and release published with the TFLint configuration files as assets.

0 comments on commit c76aa38

Please sign in to comment.