fix PR issue ref
parent
44ab84cfce
commit
b065306d99
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
if(req.headers['x-gitea-event'] !== 'pull_request') {
|
||||
return
|
||||
}
|
||||
const { pull_request } = req.body
|
||||
const { pull_request, repository } = req.body
|
||||
log(`Try referencing ref ${pull_request.head.ref} to issue`)
|
||||
|
||||
const regex = /(feature|bugfix)\/ISS-(\d+)-/
|
||||
|
|
Loading…
Reference in New Issue