Replies: 3 comments 1 reply
-
I have the same problem, the documentation says its should match the existing matchers but it only gets print in the action output. |
Beta Was this translation helpful? Give feedback.
-
Do you have an example of the output? |
Beta Was this translation helpful? Give feedback.
-
Hi i seem to have the same Problem. That's is my github workflow: on:
workflow_call:
tflint-version:
description: "TFLint version used for static checks"
default: "latest"
required: false
type: string
working-directory:
required: true
type: string
description: The working directory to run terraform commands in
jobs:
tflint:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v4
- uses: terraform-linters/setup-tflint@v4
with:
tflint_version: ${{ inputs.tflint-version }}
- run: tflint --init
working-directory: ${{ inputs.working-directory }}
- run: tflint --version
working-directory: ${{ inputs.working-directory }}
- name: TFLint
run: tflint --chdir "${{ inputs.working-directory }}" --format compact ${{ inputs.tflint-args }} And this is the tflint output:
Do you see the problem? |
Beta Was this translation helpful? Give feedback.
-
Hey,
I have an github action and according to documentation
tflint -f compact
should create annotation in PR and be picked up by Matcher but the warnings and errors just got printed in action itself.Any idea why this could happen ?
Beta Was this translation helpful? Give feedback.
All reactions