FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine
charmainemalleable
GitHub - Slack - Asana Automation
Public
Like
malleable
Home
Code
4
README.md
asana.ts
github.ts
H
main.ts
Branches
1
Pull requests
Remixes
1
History
Environment variables
3
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.
Sign up now
Code
/
Code
/
Search
main.ts
https://charmaine--a86c3210722b11f09b700224a6c84d84.web.val.run
README.md

GitHub - Slack - Asana Automation

Webhook automation for GitHub PRs with Slack notifications and Asana task syncing.

Features

  • PR Assignment: Auto-assigns one teammate or another when PR marked ready for review
  • Review Reassignment: Reassigns PR back to author after approval/rejection
  • Slack Notifications: Posts when PRs are opened and ready for review
  • Asana Integration: Replaces Asana URLs with task titles, adds PR links to tasks

Setup

  1. Environment Variables:

    • GITHUB_TOKEN - GitHub Personal Access Token
    • SLACK_WEBHOOK - Slack webhook URL
    • ASANA_API_TOKEN - Asana Personal Access Token
  2. GitHub Token Permissions (Fine-grained):

    • Pull requests: Read and Write
    • Issues: Read and Write
    • Contents: Read
    • Metadata: Read
  3. Configure Reviewers: Update REVIEWERS array in github.ts with your team members

  4. GitHub Webhook:

    • URL: https://your-val-town-url.web.val.run/webhook (note the /webhook)
    • Events: Pull requests, Pull request reviews

Files

  • main.ts - Hono webhook handler, sends messages to Slack
  • github.ts - GitHub API functions
  • asana.ts - Asana API functions
HTTP
  • main.ts
    charmaine--a8…84.web.val.run
Code
README.mdasana.tsgithub.ts
H
main.ts
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.