Giter Club home page Giter Club logo

Comments (2)

rhysd avatar rhysd commented on May 21, 2024

Thank you for the suggestion.

Yes, I thought about some kind of constant folding. Since type conversions of expressions of GitHub Actions workflow are quite implicit (for example, 'true' == true is true), it would be hard to apply constant folding in many cases. As you pointed, it would be useful for some specific properties though.
I think adding special check to event_name (#69) and then considering about more generic way would be good.

from actionlint.

webignition avatar webignition commented on May 21, 2024

Thanks for the response.

To be perfectly honest, I don't fully understand what you're saying. But that's fine, I don't think I need to!

The example I gave is a simplified version of a recent mistake I made with a workflow and I realised that it could be possible for actionlint to point this error out to me. Whether doing so is easy, practical, feasible or even possible is beyond me.

I'm happy either way whether this type of error can be addressed by actionlint or not, just thought it worth mentioning in case it might be useful.

from actionlint.

Related Issues (20)

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.