File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 title :
77 description : ' Issue title'
88 required : false
9- default : ' Investigation needed from Copilot Coding Agent'
109 type : string
1110 push :
1211 branches : [main]
@@ -24,10 +23,11 @@ jobs:
2423 uses : actions/github-script@v8
2524 with :
2625 script : |
26+ const title = '${{ inputs.title || 'Investigation needed from Copilot Coding Agent' }}';
2727 const issue = await github.rest.issues.create({
2828 owner: context.repo.owner,
2929 repo: context.repo.repo,
30- title: '${{ inputs.title }}' ,
30+ title,
3131 assignees: ['copilot-swe-agent']
3232 });
3333 core.notice(`Created issue #${issue.data.number}: ${issue.data.html_url}`);
5454 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5555 GITHUB_REPO_OWNER : ${{ github.repository_owner }}
5656 GITHUB_REPO_NAME : ${{ github.event.repository.name }}
57- run : npx tsx create-issue-assigned-to-copilot.ts "${{ inputs.title }}"
57+ run : npx tsx create-issue-assigned-to-copilot.ts "${{ inputs.title || 'Investigation needed from Copilot Coding Agent' }}"
5858 working-directory : .github/scripts
You can’t perform that action at this time.
0 commit comments