delete-branch-bot

command module
v0.0.0-...-ef3f217 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2019 License: MIT Imports: 10 Imported by: 0

README

delete-branch

Deprecated Automatic deletion of branches was released

Automatically delete branch when PR is merged

delete-branch

Install

Go to the App page and select the repository you want to install

Deployment

  1. Set environment variable for terraformuser
    • export TF_VAR_aws_access_key=""
    • export TF_VAR_aws_secret_key=""
  2. terraform init
  3. terraform plan to confirm that it will be created aws_lambda_function.delete_branch_bot
  4. terraform apply
  5. Go to API-Gateway GUI
    • Create New API and select Regional Endpoint Type
    • Actions -> Create Method -> POST
    • Select Lambda Function Integration type and set delete_branch_bot to Lambda Function form
    • Actions -> Deploy API -> Set prod stage name
    • You can see the Invoke URL
  6. Set Invoke URL to Webhook URL in GitHubApp setting

Articles

in Japanese
in English

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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