I am a maintainer of a few Julia GitHub repositories which use GitHub Actions for nightly CI runs, via cron. Some of these packages do not get maintenance for months but are used within the ecosystem and I'd like to keep them active. GitHub's current policy is to disable these actions when no repository activity has occurred in 60 days.
I'm wondering if there is a definition for what repository activity is to prevent actions from being disabled. Is this something as simple as commenting on an issue? Or do commits need to be pushed to the main branch?
Secondly, has anyone found a good solution for keeping repositories active? I was thinking of creating a Lambda function which runs every 59 days, and performs some form of repository activity to keep things alive. I've only found this HackerNews post which brings this up, however there are no comments:
Scheduled workflows will be disabled by default in forks of public repos and in public repos with no activity for 60 consecutive days. W e’re making two changes to the usage policy for GitHub Actions. These changes will enable GitHub Actions to scale with the incredible adoption we’ve seen from the GitHub community. Here’s a quick overview:
Starting today, scheduled workflows will be disabled by default in new forks of public repositories.
Scheduled workflows will be disabled in public repos with no activity for 60 consecutive days.
I too was looking for a solution to this and I encountered a plugin on the GitHub Marketplace that may be what you're looking for. The only downside is it creates "dummy commits" to your repo, which depending on your preference, you may or may not be happy with.
Keepalive Workflow: https://github.com/marketplace/actions/keepalive-workflow
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With