🥏🐣 ↝ Reset `linked_anomalies`
@Gizmotronn is already working on this.
Since Jul 20, 2025.
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Create a Golang script and GitHub Action that deletes all entries from the linked_anomalies table in Supabase every Sunday at 00:01 AEST (Saturday 14:01 UTC). This will help reset user discoveries at the start of each new gameplay week.
Acceptance Criteria
Go script uses DELETE /rest/v1/linked_anomalies via Supabase HTTP API
Authenticated using SUPABASE_SERVICE_ROLE_KEY as a GitHub secret
Action runs weekly on schedule (cron: '1 14 * * 6')
Logs successful or failed deletion with fmt.Println
Uses SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY from env
GitHub Action runs standalone and is included in .github/workflows/delete-linked-anomalies.yml
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.