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