File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -48,14 +48,21 @@ export default async function () {
4848 try {
4949 const issue = new Issue ( fixing . issue ) ;
5050 await assignIssue ( octokit , issue ) ;
51+ core . info (
52+ `Assigned ${ issue . owner } /${ issue . repository } #${ issue . issueNumber } to Copilot!`
53+ ) ;
5154 await sleep ( 1000 ) ; // Wait for Copilot to open a PR
5255 const pullRequest = await getLinkedPR ( octokit , issue ) ;
5356 if ( pullRequest ) {
5457 fixing . pullRequest = pullRequest ;
58+ core . info (
59+ `Found linked PR for ${ issue . owner } /${ issue . repository } #${ issue . issueNumber } : ${ pullRequest . url } `
60+ ) ;
61+ } else {
62+ core . info (
63+ `No linked PR was found for ${ issue . owner } /${ issue . repository } #${ issue . issueNumber } `
64+ ) ;
5565 }
56- core . info (
57- `Assigned ${ issue . owner } /${ issue . repository } #${ issue . issueNumber } to Copilot!`
58- ) ;
5966 } catch ( error ) {
6067 core . setFailed (
6168 `Failed to assign ${ fixing . issue . url } to Copilot: ${ error } `
You can’t perform that action at this time.
0 commit comments