mirror of
https://github.com/actions/labeler.git
synced 2025-12-11 12:07:32 +00:00
Add options for getting the head or base branch
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user