A Cloudflare Worker (or Docker Container) which provides better GitHub->Discord webhook integration than the built-in Discord webhook executor.
You can use this Cloudflare worker by following the steps after clicking the button below
You can also deploy disgit to docker container:
- Docker Compose: Clone this repository and run
docker compose up --build -d
.- The worker will be started on port 8080
- Docker Image: The disgit container image is published to the GitHub Container Registry here. For more information on how to authenticate with GitHub's container registry, check the help article here.
digit has the following optional environment variables that you can use to customize your instance;
IGNORED_BRANCHES_REGEX
- A regex pattern for branches that should be ignoredIGNORED_BRANCHES
- A comma seperated list of branches that should be ignoredIGNORED_USERS
- A comma seperated list of users that should be ignoredIGNORED_PAYLOADS
- A comma seperated list of webhook events that should be ignored
The following webhook events are supported as of now;
- check_run
- commit_comment
- create
- delete
- deployment
- deployment_status
- discussion
- discussion_comment
- fork
- gollum (wiki)
- issue_comment
- This event also sends pull request comments...sigh
- issues
- package
- ping
- pull_request
- pull_request_review
- pull_request_review_comment
- push
- release
- star
- ...feel free to contribute more that suit your needs!