Categorygithub.com/tastybug/github-pr-enforcer
repository
0.0.0-20241103110555-93c73b68cdc6
Repository: https://github.com/tastybug/github-pr-enforcer.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

github-pr-enforcer

This service is meant to be notified about pull requests on Github. It'll inspect the labels of the pull request and enforce configurable rules.

TODO: describe more how this is meant to support change failure rate metrics.

Local Dev Setup and Local Hosting of Webhook Mode

3 shells with the following commands as a local pipeline

  1. test and build: watchexec -e go 'make test build_github_webhook_localarch'
  2. restart local server: watchexec -w enforcer -r ./enforcer
  3. run ping against local server: curl -v -d "{\"zen\":\"Wisdom goes here\", \"repository\": {\"name\": \"github-pr-enforcer\", \"id\": 12345}}" localhost:9000/validate-pr

Deploying to minis.fritz.box

make deploy_devstage

Notes: