We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9f22c commit 7e323bfCopy full SHA for 7e323bf
1 file changed
.github/workflows/copilot-issue.yml
@@ -0,0 +1,27 @@
1
+name: Create Issue for Copilot Coding Agent
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ title:
7
+ description: 'Issue title'
8
+ required: true
9
+ type: string
10
11
+jobs:
12
+ create-issue:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ issues: write
16
+ steps:
17
+ - name: Create issue and assign to Copilot
18
+ uses: actions/github-script@v8
19
+ with:
20
+ script: |
21
+ const issue = await github.rest.issues.create({
22
+ owner: context.repo.owner,
23
+ repo: context.repo.repo,
24
+ title: '${{ inputs.title }}',
25
+ assignees: ['copilot']
26
+ });
27
+ core.notice(`Created issue #${issue.data.number}: ${issue.data.html_url}`);
0 commit comments