Git Product home page Git Product logo

Comments (8)

gautamkrishnar avatar gautamkrishnar commented on June 12, 2024 1

There is no cons for doing dummy commits. It won't change any file it just creates an empty git entry.

from keepalive-workflow.

gautamkrishnar avatar gautamkrishnar commented on June 12, 2024 1

On the plus side this dummy commit will keep your cron based triggers running. I hope that instructions on the readme is enough for most people to find this project. Feel free to improve the documentation if you have any ideas. @jackdomleo7

from keepalive-workflow.

liskin avatar liskin commented on June 12, 2024 1

Yeah, I've been using that snippet for over 2 years now - xmonad/X11@a416159

from keepalive-workflow.

gautamkrishnar avatar gautamkrishnar commented on June 12, 2024 1

Thanks for confirming @liskin, this is a good approach. I will also make it a part of this workflow and provide APIs to opt into this approach.

from keepalive-workflow.

jackdomleo7 avatar jackdomleo7 commented on June 12, 2024

Maybe it was just me getting confused. I think the documentation is fine for now. I'll close the issue. Thanks for the response!

from keepalive-workflow.

liskin avatar liskin commented on June 12, 2024

There is no cons for doing dummy commits. It won't change any file it just creates an empty git entry.

Which creates noise in git history and makes the project seem more active than it truly is. Not exactly "no cons", IMO.

I mean, most people probably don't care, but if anyone does, there is an alternative that doesn't use dummy commits: https://github.com/liskin/gh-workflow-keepalive

from keepalive-workflow.

gautamkrishnar avatar gautamkrishnar commented on June 12, 2024

@liskin 👍🏻 thanks, that also looks like a good approach. When I wrote this action, there was no such API. Btw have you tested it in the long term (60 days)? Is it keeping the workflow alive?

from keepalive-workflow.

gautamkrishnar avatar gautamkrishnar commented on June 12, 2024

Just released a new version with API Keeplaive.

from keepalive-workflow.

Related Issues (16)

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.