#!/bin/sh
# integrate_verify hook using GitHub CLI (https://cli.github.com)
#
# This hook handles doing any verification checks prior to integrating.
#
# In this sample we are making sure that the GitHub Pull Request Checks have
# all passed utilizing the GitHub CLI. Therefore, you need to make sure that
# you have the GitHub CLI installed, in your PATH, and have logged into it for
# this hook to work.
#
# Setup
#
# - install github cli - on macOS - brew install gh
# - login to github cli - gh auth login
patch_upstream_branch_name= # string of the patch's associated upstream branch name (e.g. ps/rr/your-patches-branch-name)
patch_stack_upstream_branch_name_relative_to_remote= # string of the patch stack's branch name (e.g. main)
patch_stack_upstream_remote_name= # string of the patch stack's remote name (e.g. origin)
patch_stack_upstream_remote_url= # string of the patch stack's remote url
if [; then
else
fi