Add options for getting the head or base branch

This commit is contained in:
Josh Dales
2023-01-28 17:53:41 -05:00
parent cd3a8df80d
commit 0b6e68d75a
4 changed files with 61 additions and 18 deletions

View File

@@ -1,7 +1,13 @@
export const context = {
payload: {
pull_request: {
number: 123
number: 123,
head: {
ref: 'head-branch-name'
},
base: {
ref: 'base-branch-name'
}
}
},
repo: {