tree: fb4bebf84ba3797b3f83ad811d5778e1771259a4 [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=golang-github-issue-data,GITHUB_WEBHOOK_SECRET=$(gcloud --project=symbolic-datum-552 secrets versions access latest --secret=github-webhook-secret)"