Skip to content

Commit 1bc0055

Browse files
authored
Merge pull request #11 from kabisa/renovate/configure
Configure Renovate
2 parents 5fda8c7 + 9d945ee commit 1bc0055

File tree

5 files changed

+165
-103
lines changed

5 files changed

+165
-103
lines changed

.github/workflows/documentation.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Generate terraform docs
2+
3+
on:
4+
push:
5+
# don't run when we push a tag
6+
tags-ignore:
7+
- '*'
8+
# don't run when we merge to main
9+
# the action should have run already
10+
branches-ignore:
11+
- 'main'
12+
jobs:
13+
pre-commit:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: terraform-linters/setup-tflint@v2
17+
name: Setup TFLint
18+
with:
19+
tflint_version: v0.38.1
20+
- uses: actions/checkout@v3
21+
- uses: actions/setup-python@v4
22+
- uses: pre-commit/[email protected]
23+
# pre-commit fails if it changed files
24+
# we want to go on
25+
continue-on-error: true
26+
- uses: pre-commit/[email protected]
27+
- uses: EndBug/add-and-commit@v9
28+
with:
29+
default_author: github_actions

.pre-commit-config.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ repos:
55
- id: terraform-fmt
66
- id: terraform-validate
77
- id: tflint
8-
- id: shellcheck
9-
- repo: [email protected]:kabisa/terraform-datadog-pre-commit-hook.git
10-
rev: "1.2.2"
8+
- repo: https://github.com/kabisa/terraform-datadog-pre-commit-hook
9+
rev: "1.3.6"
1110
hooks:
1211
- id: terraform-datadog-docs
13-
exclude: ^README.md$
1412
args:
15-
- "."
13+
- "."

.terraform.lock.hcl

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)