Skip to content

Instantly share code, notes, and snippets.

@hennevogel
Created April 28, 2021 09:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hennevogel/2c2b58b31114cccf28aa928863827fc6 to your computer and use it in GitHub Desktop.
Save hennevogel/2c2b58b31114cccf28aa928863827fc6 to your computer and use it in GitHub Desktop.
@token = Token::Workflow.new(scm_access_token: '$GITHUB_ACCESS_TOKEN')
Webhook comes in from github
@token.call
-> branch
-> create EventSubscription
-> Event::BuildFail for package blah happens
-> notify github with @token.scm_access_token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment