nextstrain / project-board

Information and scripts to automate the organization-wide GitHub project board.
https://github.com/orgs/nextstrain/projects/11/views/5
0 stars 0 forks source link

Prevent scheduled workflow from being automatically disabled #5

Open joverlee521 opened 1 year ago

joverlee521 commented 1 year ago

Context

During our issue triage meeting on Feb 22, 2023, we realized our scheduled Update GitHub project workflow was disabled on Feb 7, 2023. The GitHub workflow docs state:

In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.

Possible solution

To prevent this from happening without us noticing again, we could automate activity for this repo.

  1. Use the Keepalive Workflow action
  2. Create our own workflow that runs some activity as the Nextstrain bot. I'm not entirely sure what counts as "repository activity" but a couple options:
    • Push dummy commit to main
    • Push dummy commit to a long term "keep-alive" branch
    • Create and delete a new branch
    • Create and close a new issue
    • Other ideas?
joverlee521 commented 1 year ago

We reached the 60 mark again and the workflow stopped running after 2023-04-24. Just re-enabled and manually ran the workflow.

joverlee521 commented 1 year ago

Manually re-enabled workflow today.

joverlee521 commented 1 year ago

Re-enabled workflow today