Skip to content

Add maintainable referral code workflow - #1

Merged
erkcet merged 1 commit into
mainfrom
agent/maintainable-referral-codes
Jul 23, 2026
Merged

Add maintainable referral code workflow#1
erkcet merged 1 commit into
mainfrom
agent/maintainable-referral-codes

Conversation

@erkcet

@erkcet erkcet commented Jul 23, 2026

Copy link
Copy Markdown
Owner

What changed

  • Keep active referral codes in data/codes.json as the single source of truth
  • Generate README.md deterministically from that data
  • Validate code shape, dates, duplicates, and README consistency
  • Check active Raycast referral links on pushes, pull requests, a daily schedule, and manual runs
  • Remove inactive codes and retain only 66957497
  • Add a clear referral reward disclosure

Why

The repository previously required editing a Markdown table by hand, which made stale one-time codes easy to leave published. The new workflow makes routine maintenance a small data edit and automatically detects drift.

Validation

  • npm run check:readme
  • npm run check:links (confirmed 66957497 serves an active Raycast referral page)
  • git diff --check

@erkcet
erkcet marked this pull request as ready for review July 23, 2026 08:29
@erkcet
erkcet merged commit 631468c into main Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant