Skip to content

Instantly share code, notes, and snippets.

@tonytins
Created April 27, 2025 13:07
Show Gist options
  • Save tonytins/a062965272187f204b9967d71f182891 to your computer and use it in GitHub Desktop.
Save tonytins/a062965272187f204b9967d71f182891 to your computer and use it in GitHub Desktop.
Chill Months Reminder
# .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