Public
Like
2
Change-Logs-Generator
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v257View latest version
A val that automatically fetches GitHub commits and posts formatted changelog updates to Discord. The bot categorizes commits based on conventional commit messages ie. feat:, fix: etc.
Example:
Set the following environment variables in your Val Town dashboard:
GITHUB_REPO_OWNER: ie.steel-devGITHUB_REPO_NAME: ie.steel-browserGITHUB_TOKEN: Go to GitHub Personal Access Tokens → Generate new token (classic) → SelectreposcopeDISCORD_WEBHOOK_URL: In your Discord server → Server Settings → Integrations → Webhooks → New Webhook → Copy Webhook URL
The cron runs automatically based on your configured schedule, fetching commits since the last run
You can also manually test this val using the test.tsx endpoint
The bot automatically categorizes commits into the following sections:
- ✨ New Features (
feat:) - 🐛 Bug Fixes (
fix:) - ⚙️ Chores & Maintenance (
chore:) - 📋 Other Updates (uncategorized commits)