Discover Packages
golang.org/x/build/cloudfns/issueswebhook
package
module
Version:
v0.0.0-...-140d723
Opens a new window with list of versions in this module.
Published: May 7, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
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)"
Expand ▾
Collapse ▴
Documentation
¶
Package issueswebhook implements a Google Cloud Function HTTP handler that
expects GitHub webhook change events. Specifically, it reacts to issue change
events and saves the data to a GCS bucket.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.