gh-stack icon indicating copy to clipboard operation
gh-stack copied to clipboard

Update docs with details about stack details in `pull_request` webhook event

Open willsmythe opened this issue 7 months ago • 0 comments

Summary

pull_request webhook events now include a stack object if the PR is in a stack. This object currently includes information about the base of the stack (the name of the branch the stack is targeting and the current SHA of that branch):

{
   pull_request: {
     stack: {
       base: {
         ref: "main"
         sha: "blah"
       }
     }
  }
}

Update the docs to include this information. This will be particularly helpful for teams needing to trigger CI or workflows on any PR in a stack that targets main for example.

willsmythe avatar Apr 24 '26 20:04 willsmythe