Comments (2)
I just found this release note: https://github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.1
and I think I've found the cause of my problem.
As I started using this action with the dummy commit of v1, it was already working to have a separate "keep alive" workflow: all scheduled workflows were kept alive as a new commit was detected.
With the v2, if we use a separate "keep alive" workflow, we have to specify which workflow we want to keep active ?
Please let me know if I'm right. If it is correct, maybe it could useful to update this part of the README: https://github.com/gautamkrishnar/keepalive-workflow/?tab=readme-ov-file#migrating-from-v1-to-v2
(because a separate workflow file worked with the v1 and migrating to v2 involves managing a workflow_files
input)
Thanks
from keepalive-workflow.
@julienloizelet yes you are right. With v2 you need to add it to every individual workflows you want to keep alive. Or you can also simply use workflow_files
to manually specify multiple workflows.
Check the example https://github.com/gautamkrishnar/keepalive-workflow?tab=readme-ov-file#advanced-use-cases
name: Keepalive Workflow
on:
schedule:
- cron: "0 0 * * *"
permissions:
actions: write
jobs:
cronjob-based-github-action:
name: Keepalive Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2
with:
workflow_files: "build1.yml, build2.yml"
time_elapsed: "0"
from keepalive-workflow.
Related Issues (15)
- Documentation on the impact of a "Dummy commit" HOT 8
- 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
- Workflow being disabled even though v2 is in use HOT 9
- Extraneous parameters reported in v2 HOT 1
- 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.