tree: b7cec6f501bcdc70f51580f123cae920b75ff892 [path history] [tgz]
  1. go.mod
  2. go.sum
  3. issueswebhook.go
  4. issueswebhook_test.go
  5. README.md
cloudfns/issueswebhook/README.md

Go Reference

golang.org/x/build/cloudfns/issueswebhook

Package issueswebhook implements a Google Cloud Function HTTP handler that expects GitHub webhook change events.

Deploying

gcloud functions deploy GitHubIssueChangeWebHook \
  --project=symbolic-datum-552 \
  --runtime go113 \
  --trigger-http \
  --set-env-vars=GCS_BUCKET=<bucket name>,GITHUB_WEBHOOK_SECRET=<github webhook secret>