Skip to content

feat(components): update CreateSealForm template icons for better rep… #93

feat(components): update CreateSealForm template icons for better rep…

feat(components): update CreateSealForm template icons for better rep… #93

name: Warrant Canary Reminder
on:
schedule:
- cron: '0 0 1 * *' # First day of every month at midnight UTC
workflow_dispatch: # Allow manual trigger
jobs:
remind:
runs-on: ubuntu-latest
steps:
- name: Create Issue
uses: actions/github-script@v7
with:
script: |
const today = new Date().toISOString().split('T')[0];
const nextMonth = new Date(Date.now() + 30*24*60*60*1000).toISOString().split('T')[0];
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `🔐 Update Warrant Canary - ${today}`,
body: `## Monthly Warrant Canary Update
**Action Required:** Update and sign the warrant canary.

Check failure on line 25 in .github/workflows/canary-reminder.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/canary-reminder.yml

Invalid workflow file

You have an error in your yaml syntax on line 25
### Steps:
1. Run: \`./scripts/sign-canary.sh\`
2. Review \`public/canary.txt\`
3. Commit: \`git add public/canary.txt public/pgp-key.asc\`
4. Push: \`git commit -m "Update warrant canary ${today}" && git push\`
5. Deploy: \`npm run deploy\`
6. Close this issue
### Checklist:
- [ ] No warrants received
- [ ] No subpoenas received
- [ ] No NSLs received
- [ ] No government requests
- [ ] No forced time manipulation
- [ ] Infrastructure under control
- [ ] No backdoors or compromises
**Next update:** ${nextMonth}`,
labels: ['security', 'canary', 'monthly']
});