Giter Site home page Giter Site logo

Comments (8)

ChristophShyper avatar ChristophShyper commented on June 17, 2024

Hello @Xat59! Sorry for late answer, I must have missed mail notification about your issues.
Is it still the case? I cannot access your repository. But all my actions by default run in containers, so they shouldn't care about your runner system.

from action-format-hcl.

ChristophShyper avatar ChristophShyper commented on June 17, 2024

Since I haven't heard from you back I assume it's no longer an issue.

from action-format-hcl.

smruti-21 avatar smruti-21 commented on June 17, 2024

I still see the issue -

=> Searching for .hcl files
[INFO] Finding files: find . -name '*.hcl' -type f

=> Searching for .tf and .tfvars files
error: unknown option `staged'
usage: git diff --no-index [<options>] <path> <path>

from action-format-hcl.

ChristophShyper avatar ChristophShyper commented on June 17, 2024

Hi. I'll have a look at it.

from action-format-hcl.

ChristophShyper avatar ChristophShyper commented on June 17, 2024

Apparently, it's an issue with git binary that changed the way it discovers directories: https://stackoverflow.com/questions/69470009/git-diff-cached-unknown-option-cached

@smruti-21 Can you share your workflow file? Scramble any secrets, but I need to see something in general approach.

from action-format-hcl.

smruti-21 avatar smruti-21 commented on June 17, 2024

@ChristophShyper Unfortunately I do not have the workflow file with me right now.
I remember there was no parameters set though I tried with setting up parameters like recursive, check etc.. but always I was getting same error.

from action-format-hcl.

ChristophShyper avatar ChristophShyper commented on June 17, 2024

I'm interested in your checkout action.

from action-format-hcl.

ChristophShyper avatar ChristophShyper commented on June 17, 2024

Hi. I've released version v0.3, which is based on Ubuntu and has a newer version of git binary. Hopefuly that will fix your issue. But as I said before it could be caused by your checkout action.

from action-format-hcl.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.