Created
April 27, 2025 13:07
-
-
Save tonytins/a062965272187f204b9967d71f182891 to your computer and use it in GitHub Desktop.
Chill Months Reminder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/chill-months.yml | |
name: π Chill Months Reminder | |
on: | |
schedule: | |
- cron: '0 12 1 6 *' # June 1st at 12:00 UTC | |
- cron: '0 12 1 12 *' # December 1st at 12:00 UTC | |
workflow_dispatch: # Allow manual triggering too | |
jobs: | |
create-chill-reminder: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Create Chill Month Issue | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const month = new Date().getMonth() + 1; | |
const chillMonthName = month === 6 ? 'June' : 'December'; | |
await github.rest.issues.create({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
title: `π΄ Chill Month Activated: ${chillMonthName}`, | |
body: ` | |
It's ${chillMonthName}, your pre-scheduled **Chill Month**! | |
π **Reminder:** | |
- Focus on maintenance, not new features. | |
- Take creative time, study something new, or just chill. | |
- Mandatory cooldowns after major updates still apply. | |
- Patches are fine, but don't overcommit! | |
Stay human, stay rested. π | |
`, | |
labels: ['chill-month', 'maintenance', 'reminder'] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment