@@ -172,7 +172,7 @@ export async function cleanupPrs(
172172 pull_number : prNum ,
173173 state : 'closed' ,
174174 } )
175- debugFn ( 'notice' , `close: ${ prRef } for ${ prToVersion } ` )
175+ debugFn ( 'notice' , `pr: closing ${ prRef } for ${ prToVersion } ` )
176176 // Remove entry from parent object.
177177 context . parent . splice ( context . index , 1 )
178178 // Mark cache to be saved.
@@ -181,7 +181,7 @@ export async function cleanupPrs(
181181 } catch ( e ) {
182182 debugFn (
183183 'error' ,
184- `fail: close ${ prRef } for ${ prToVersion } \n` ,
184+ `pr: failed to close ${ prRef } for ${ prToVersion } \n` ,
185185 ( e as Error ) ?. message || 'unknown error' ,
186186 )
187187 }
@@ -196,7 +196,7 @@ export async function cleanupPrs(
196196 base : match . headRefName ,
197197 head : match . baseRefName ,
198198 } )
199- debugFn ( 'notice' , 'update: stale' , prRef )
199+ debugFn ( 'notice' , `pr: updating stale ${ prRef } ` )
200200 // Update entry entry.
201201 if ( context . apiType === 'graphql' ) {
202202 context . entry . mergeStateStatus = 'CLEAN'
@@ -207,7 +207,7 @@ export async function cleanupPrs(
207207 cachesToSave . set ( context . cacheKey , context . data )
208208 } catch ( e ) {
209209 const message = ( e as Error ) ?. message || 'Unknown error'
210- debugFn ( 'error' , `fail: update ${ prRef } - ${ message } ` )
210+ debugFn ( 'error' , `pr: failed to update ${ prRef } - ${ message } ` )
211211 }
212212 }
213213 return match
0 commit comments