Skip to content

Commit

Permalink
ci: Ignore lockfile in terraform-docs to prevent using CI installed v…
Browse files Browse the repository at this point in the history
…ersions
  • Loading branch information
jasonwashburn committed Dec 20, 2024
1 parent 7149a81 commit 3938472
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pre-commit-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7

- uses: opentofu/setup-opentofu@ae80d4ecaab946d8f5ff18397fbf6d0686c6d46a # v1.0.3
- uses: opentofu/setup-opentofu@ae80d4ecaab946d8f5ff18397fbf6d0686c6d46a # v1.0.3
with:
# renovate: datasource=github-tags depName=opentofu/opentofu versioning=semver
tofu_version: 1.8.1
Expand All @@ -48,6 +48,7 @@ jobs:
output-method: inject
git-push: false
fail-on-diff: true
lockfile: false

- name: Setup TFLint
uses: terraform-linters/setup-tflint@19a52fbac37dacb22a09518e4ef6ee234f2d4987 # v4.0.0
Expand All @@ -62,7 +63,7 @@ jobs:
run: tflint --init
env:
# https://github.com/terraform-linters/tflint/blob/master/docs/user-guide/plugins.md#avoiding-rate-limiting
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run TFLint
run: tflint -f compact --recursive
Expand All @@ -77,7 +78,7 @@ jobs:
- name: tfsec
uses: aquasecurity/tfsec-action@b466648d6e39e7c75324f25d83891162a721f2d6 # v1.0.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
soft_fail: true

regula:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ go test -count 1 -v .

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.63.1 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 4.62.0 |

## Modules

Expand Down

0 comments on commit 3938472

Please sign in to comment.