reviewdog: failed to run 'git rev-parse --show-prefix': exit status 128
MariachiForHire opened this issue · comments
MariachiForHire commented
Hi -
I'm getting error: reviewdog: failed to run 'git rev-parse --show-prefix': exit status 128. Can someone help out?
Here is my action.yaml
name: reviewdog
on: [pull_request]
jobs:
reviewdog:
runs-on: ubuntu-latest
steps:
- name: Run tflint with reviewdog
uses: reviewdog/action-tflint@master
with:
github_token: ${{ secrets.REVIEWDOGTOKEN}}
level: warning # optional, default is error
reporter: github-pr-check # optional, default is github-pr-check
flags: --module # optional, default is --module
Vlad Ionescu commented
Hey!
You don't seem to have run actions/checkout
at all. So you've got no code for reviewdog to run on.
MariachiForHire commented
Ahh thanks that worked. Do i have additional question, this only works for AWS, right?
I want to try it out in Azure.
Vlad Ionescu commented
Yay, glad that fixed the issue for you.
It looks like Azure support is experimental in tflint
: terraform-linters/tflint#providers, but it's there