Skip to content

Commit 5b30f0d

Browse files
CopilotTimHess
andcommitted
Add comprehensive documentation to keep-alive workflow
Co-authored-by: TimHess <3947063+TimHess@users.noreply.github.com>
1 parent 58da803 commit 5b30f0d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/keep-alive.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# Keep Scheduled Workflows Alive
2+
#
3+
# Purpose:
4+
# GitHub automatically disables scheduled workflows after 60 days of repository inactivity.
5+
# This workflow prevents that by creating minimal activity when needed.
6+
#
7+
# How it works:
8+
# 1. Runs monthly on the 1st of each month
9+
# 2. Checks for any commits, issues, or PRs in the last 50 days
10+
# 3. If no activity is found:
11+
# - Creates a temporary branch with an empty commit
12+
# - Opens a pull request
13+
# - Immediately closes the PR
14+
# - Deletes the temporary branch
15+
# 4. If recent activity exists, does nothing
16+
#
17+
# Manual trigger:
18+
# This workflow can also be triggered manually via workflow_dispatch if needed.
19+
#
20+
# Related issue: https://github.com/SteeltoeOSS/NetCoreToolTemplates/issues/106
21+
#
122
name: Keep Scheduled Workflows Alive
223

324
on:

0 commit comments

Comments
 (0)