tree: fb4bebf84ba3797b3f83ad811d5778e1771259a4 [path history] [tgz]
  1. README.md
  2. go.mod
  3. go.sum
  4. issueswebhook.go
  5. issueswebhook_test.go
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)"