Skip to content

Commit de0e3cc

Browse files
committed
Refactor copilot action usage in copilot-comment.yml and add test-copilot.yml workflow
1 parent 8cfbe50 commit de0e3cc

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/copilot-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
if: ${{ startsWith(github.event.comment.body, '/copilot') }}
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: austenstone/copilot-cli-actions/.github/actions/copilot-command@main
8+
- uses: austenstone/copilot-cli-actions/.github/actions/copilot@main
99
with:
1010
github-token: ${{ secrets.PAT }}
1111
prompt: |

.github/workflows/test-copilot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: push
2+
3+
jobs:
4+
copilot:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: austenstone/copilot-cli-actions/.github/actions/copilot@main
8+
with:
9+
github-token: ${{ secrets.PAT }}
10+
prompt: |
11+
Create annotations and write a job summary using mcp tools.
12+

0 commit comments

Comments
 (0)