issueswebhook

package module
v0.0.0-...-140d723 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2022 License: BSD-3-Clause Imports: 7 Imported by: 0

README

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)"

Documentation

Overview

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitHubIssueChangeWebHook

func GitHubIssueChangeWebHook(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL