I recently learned that Github disables workflows after 60 days of repo inactivity, from e-mails like
[GitHub] The “CompatHelper” workflow in tpapp/… will be disabled soon
Scheduled workflows are disabled automatically after 60 days of repository inactivity.
For TagBot this is not a problem, but for CompatHelper this kind of defeats the purpose (not all repos need to be updated every 60 days if they work fine, and just need the occasional [compat] bump).
Is there a recommended solution/workaround for this? I can always extend these things manually but that’s a bit tedious.
It is in the sense that you’ll need to manually enable it once it’s deactivated. However @christopher-dG is looking into alternatives (not a promise and I believe he’d appreciate help on this!)
Of course.
You need a second, which activates the first, and the first activates the second (and of course TagBot and Compat). With an offset of 30 days to each other this should run forever… and ever… and ever… and ever…
This weekend, I’ll have a look at getting the General registry + TagBot to work without the cron trigger (see this issue for more details). I expect to have something working long before the 60 days are up. However, this will require everyone to update their TagBot.yml files to include the new trigger. I won’t be doing any automated PRs this time around.
Dependabot support is a far larger project, but I do still plan on doing it. Given that I have a sort of deadline now, I can hopefully carve out some time to get it done in the next month or so, so that the review/integration process is done by the end of the 60 days. This will effectively deprecate the CompatHelper action; you’ll get automatic PRs from Dependabot provided that you’ve enabled that feature in the GitHub settings.
Hi all, I just realized that compathelper has been disabled for most of my packages since I haven’t touched quite a few of them for a couple months. Is there a solution to this?
I don’t think that I have posted this here, but we at Invenia have made a solution to this disabled actions problem, KeepActionsAlive.
This is just a small Python script which runs on AWS Lambda every 20 days. It gets all our repos, and for all their workflows hits the endpoint to re-enable them.
If you’re not on AWS, I’m sure you can easily enough modify this to suit your needs.