Skip to content

Creates a release in github based on the metadata.rb from a github webhook event

Notifications You must be signed in to change notification settings

xorima/cookbook_release_creator

Repository files navigation

Cookbook Release Creator

Creates a release and deployment in github based on the metadata.rb from a github webhook event and a release based on the label of Release: Major|Minor|Patch on the merged pull request

Configuration

Environment Variables

This app uses the following environments variables:

Name Required Description
GITHUB_TOKEN Yes Token to access the github api, create the release and update the changelog on master
SECRET_TOKEN Yes If supplied it will do a HMAC check against the incomming request

Webhook

To configure the webhook you will want to do the following:

URL: <https://example.com/handler>
Events:
  Let me select:
    Pull Requests (Only)

If you set a HMAC secret ensure that SECRET_TOKEN is set to the same secret value

Docker images

Docker images are supplied under Xorima on docker hub, https://hub.docker.com/r/xorima/cookbook_release_creator/

About

Creates a release in github based on the metadata.rb from a github webhook event

Resources

Stars

Watchers

Forks

Packages

No packages published