Comments (8)
There is no cons for doing dummy commits. It won't change any file it just creates an empty git entry.
from keepalive-workflow.
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.
Yeah, I've been using that snippet for over 2 years now - xmonad/X11@a416159
from keepalive-workflow.
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.
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.
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.
@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.
Just released a new version with API Keeplaive.
from keepalive-workflow.
Related Issues (16)
- denied by branch protections HOT 1
- "unable to access" issue in multiple projects. HOT 5
- Fails with "Unable to Access" HOT 2
- write permission check using github API HOT 6
- Use branch "keep-alive" HOT 3
- [Question] Write Permission check HOT 4
- Node 20? HOT 1
- Add keepalive using GitHub actions API HOT 2
- Unexpected input(s) 'use_api' during action run HOT 4
- Please update Release 2.0 to say explicitly what needs to change HOT 6
- My workflow has been disabled even if I use this action HOT 2
- Workflow being disabled even though v2 is in use HOT 9
- Extraneous parameters reported in v2 HOT 1
- Action does not complete and causes the parent workflow to fail. (triggered by pull request from fork) HOT 2
- Error when using workflow HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepalive-workflow.