5 ms·
AFAIK, scheduled GitHub workflows stop running after a while. But when that happens, GitHub will send you an email with a big green “Continue running workflow”
by 1f60c 4y ago
AFAIK, scheduled GitHub workflows stop running after a while. But when that happens, GitHub will send you an email with a big green “Continue running workflow” button.
- sauruk 4y agosounds like time to make a “hit the big green button” github action
- akerl_ 4y agoI use crons to keep my Docker containers fresh, and have never hit this. But the cron commits to the repo, so I wonder if they’re flagging repos with crons but no commits recently?
- tracker1 4y agoDefinitely... It seems to be in 4-6 week timeframe... I'd thought about making the cron update references in the repo, but hadn't gone through that as of yet.
- tracker1 4y agoI've got a couple projects like this, that mostly just create bundles of other source projects that I'm not involved with. Creating a windows installer, or docker image for projects that don't have that integrated. It's kind of annoying that they will stop in several weeks when there's no project changes.
- moehm 4y ago> It's kind of annoying that they will stop in several weeks when there's no project changes. Can't you configure a GHA which commits nonsense every month?
- tracker1 4y agoYeah... I will probably do that, with my daily check action (update a last-check) text file or something.
- genericacct 4y agoCan you not trigger an action via a local cronjob and the API?
- tracker1 4y agoBut then I need a second system to do that.
- deleted 4y ago[deleted]
- WirelessGigabit 4y agoI wonder if I can make a Github repo with an action that commits to another repo on a cron. Or itself?
- prepend 4y agoActions won’t run on repos with no activity for 60 days [0]. So make sure your action commits something to the repo to keep up activity. This seems to meet OP’s use case as they have to commit state anyway. [0] https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow https://docs.github.com/en/actions/managing-workflow-runs/di...