Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keepalive workflow #2952

Merged
merged 2 commits into from
Oct 2, 2023
Merged

Add keepalive workflow #2952

merged 2 commits into from
Oct 2, 2023

Conversation

jakebailey
Copy link
Member

@jakebailey jakebailey commented Oct 2, 2023

If a repo hasn't been committed to in 60 days, GitHub disables Actions. Since this repo doesn't get touched often, but its workflows are integral, we work around that problem via a workflow in the TypeScript repo itself (https://github.com/microsoft/TypeScript/blob/main/.github/workflows/ensure-related-repos-run-crons.yml) as that repo is active.

Rather than using GHA in another repo to manage this repo, this PR instead adds a workflow that makes the empty commit so long as no commit has happened in the past 50 days. This is more manageable, keeping the workflows in their respective repos.

There is an action someone wrote for this (https://github.com/gautamkrishnar/keepalive-workflow) but it seems like overkill to pull in.

@jakebailey jakebailey merged commit 1c3e390 into microsoft:v2 Oct 2, 2023
5 checks passed
@jakebailey jakebailey deleted the keepalive branch October 2, 2023 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants