Skip to content

CloudFlare worker for a Discord interaction to query GitHub

Notifications You must be signed in to change notification settings

wwosimulation/github-interaction-worker

 
 

Repository files navigation

About

Discord interaction for cloudflare workers to query GitHub pull requests, issues, and commits and display them in your Discord server.

Secrets

  • GITHUB_TOKEN GitHub access token to make queries with
  • DISCORD_CLIENT_SECRET Discord Application public key

Use wrangler secret to modify secrets for your worker.

Configuration (wrangler.toml)

  • DEFAULT_REPO_OWNER Repository owner name to default to, if none is provided.
  • DEFAULT_REPO Repository name to default to, if none is provided.

Note: Make sure to also update this in the model.json field descriptions.

Contributing

If you wish to contribute, feel free to fork the repository and submit a pull request. I use ESLint to enforce a consistent code style.

git clone https://github.com/almostSouji/github-interaction-worker.git
npm install

Remember to always lint your work before making a commit to ensure everything is lined up and consistent with the rest of the codebase.

Please test the application on your own CF worker before submitting a PR.

Author

github-interaction-worker © almostSouji.
Authored and maintained by almostSouji.

GitHub @almostSouji

About

CloudFlare worker for a Discord interaction to query GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.3%
  • JavaScript 3.7%