Skip to content

Update secrets naming and sponsorship tier validation#13

Merged
SamTheKorean merged 3 commits into
mainfrom
update-secrets-and-sponsorship
Apr 11, 2026
Merged

Update secrets naming and sponsorship tier validation#13
SamTheKorean merged 3 commits into
mainfrom
update-secrets-and-sponsorship

Conversation

@SamTheKorean
Copy link
Copy Markdown
Contributor

Summary

  • GITHUB_PATGH_PAT 으로 rename (GitHub Actions 예약어 충돌 방지)
  • CI deploy workflow에 DISCORD_APPLICATION_ID, GH_PAT 추가
  • 후원 tier/금액 조회를 classic PAT(GH_PAT)으로 처리
  • 후원 시작일과 팀 생성일 비교해서 유효성 검증

Test plan

  • GitHub Actions secrets에 GH_PAT, DISCORD_APPLICATION_ID 추가 확인
  • CI 배포 정상 동작 확인
  • /verify 커맨드로 후원 날짜 검증 확인

🤖 Generated with Claude Code

SamTheKorean and others added 3 commits April 11, 2026 11:09
- Rename GITHUB_PAT to GH_PAT to avoid GitHub reserved prefix
- Add DISCORD_APPLICATION_ID and GH_PAT to CI deploy workflow
- Use classic PAT for sponsorship tier/amount queries
- Validate sponsorship date against team creation date

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Return isOneTimePayment and amount from checkSponsorship
- Only allow one-time sponsors with $5 or more to pass verification

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@SamTheKorean SamTheKorean merged commit ac35e29 into main Apr 11, 2026
2 checks passed
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