diff --git a/.copier-answers.yml b/.copier-answers.yml new file mode 100644 index 0000000..0edba73 --- /dev/null +++ b/.copier-answers.yml @@ -0,0 +1,6 @@ +# This file is managed by Copier; DO NOT EDIT OR REMOVE. +_commit: v0.1.0 +_src_path: git@github.com:quantco/copier-template-pre-commit-mirrors +entry: tflint +tool: tflint +url: https://github.com/terraform-linters/tflint diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a2a06ab..5a74cb9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: weekly + interval: monthly reviewers: - quantco/ci groups: diff --git a/.github/workflows/autoupdate.yml b/.github/workflows/autoupdate.yml index 894c43e..106ea32 100644 --- a/.github/workflows/autoupdate.yml +++ b/.github/workflows/autoupdate.yml @@ -1,4 +1,5 @@ name: Autoupdate + on: workflow_dispatch: schedule: @@ -16,8 +17,6 @@ jobs: steps: - name: Checkout branch uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - name: Set up Conda env uses: mamba-org/setup-micromamba@e820223f89c8720d6c740ca154a7adf32fcd278a with: diff --git a/.github/workflows/keep-alive.yml b/.github/workflows/keep-alive.yml index 2396e6b..ecc2990 100644 --- a/.github/workflows/keep-alive.yml +++ b/.github/workflows/keep-alive.yml @@ -1,8 +1,7 @@ name: Keep on: - # pull_request: schedule: - - cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC + - cron: 0 6 * * SUN jobs: keep-alive: @@ -12,7 +11,7 @@ jobs: - uses: actions/checkout@v4 - uses: gautamkrishnar/keepalive-workflow@60b13c92aeda855e493b83aaf482c25da7e0043b with: - commit_message: "Ah ah ah, stayin' alive" + commit_message: Ah ah ah, stayin' alive committer_username: ForrestQuant - committer_email: "forrestquant@users.noreply.github.com" - time_elapsed: 50 # days + committer_email: forrestquant@users.noreply.github.com + time_elapsed: 50 # days diff --git a/LICENSE.txt b/LICENSE similarity index 98% rename from LICENSE.txt rename to LICENSE index dbb4f4b..1f66540 100644 --- a/LICENSE.txt +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2023 QuantCo, Inc. +Copyright 2024 QuantCo, Inc. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/README.md b/README.md index 022ab2a..f37c4e6 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,18 @@ -tflint mirror -==================== +# tflint mirror Mirror of tflint for pre-commit with conda as a language. -For pre-commit: see https://github.com/pre-commit/pre-commit -For tflint: see https://github.com/terraform-linters/tflint +For pre-commit: see [here](https://github.com/pre-commit/pre-commit) -### Using tflint with pre-commit and conda: +For ansible-lint: see [here](https://github.com/terraform-linters/tflint) + +## Using tflint with pre-commit and conda: Add this to your `.pre-commit-config.yaml` ```yaml - - repo: https://github.com/Quantco/pre-commit-mirrors-tflint + - repo: https://github.com/quantco/pre-commit-mirrors-tflint rev: '' # Use the sha / tag you want to point at hooks: - id: tflint-conda ``` -