Skip to content

Commit a249745

Browse files
committed
Replace austenstone/copilot-cli-actions@main with austenstone/copilot-cli@main across workflows and update README
1 parent 9a86493 commit a249745

10 files changed

Lines changed: 9 additions & 9 deletions

.github/workflows/copilot-ci-fix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
1010
steps:
1111
- uses: actions/checkout@v5
12-
- uses: austenstone/copilot-cli-actions@main
12+
- uses: austenstone/copilot-cli@main
1313
with:
1414
github-token: ${{ secrets.PAT }}
1515
prompt: |

.github/workflows/copilot-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
modified_comment=$(echo "${{ github.event.comment.body }}" | sed 's/\/copilot//')
1414
echo "prompt=${modified_comment}" >> "$GITHUB_OUTPUT"
1515
- name: Run Copilot
16-
uses: austenstone/copilot-cli-actions@main
16+
uses: austenstone/copilot-cli@main
1717
with:
1818
github-token: ${{ secrets.PAT }}
1919
prompt: |

.github/workflows/copilot-dependabot-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github-token: ${{ secrets.GITHUB_TOKEN }}
1818

1919
- name: Generate dependency analysis with Copilot
20-
uses: austenstone/copilot-cli-actions@main
20+
uses: austenstone/copilot-cli@main
2121
env:
2222
CONTEXT7_API_KEY: ${{ secrets.CONTEXT7_API_KEY }}
2323
with:

.github/workflows/copilot-pr-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
if: ${{ github.event.pull_request.state == 'open' }}
99
steps:
1010
- uses: actions/checkout@v5
11-
- uses: austenstone/copilot-cli-actions@main
11+
- uses: austenstone/copilot-cli@main
1212
with:
1313
github-token: ${{ secrets.PAT }}
1414
prompt: |

.github/workflows/copilot-research.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
if: ${{ github.event.issue.state == 'open' && contains(github.event.issue.title, 'Research') }}
99
steps:
10-
- uses: austenstone/copilot-cli-actions@main
10+
- uses: austenstone/copilot-cli@main
1111
env:
1212
FIRECRAWL_API_KEY: ${{ secrets.FIRECRAWL_API_KEY }}
1313
with:

.github/workflows/copilot-security-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v5
9-
- uses: austenstone/copilot-cli-actions@main
9+
- uses: austenstone/copilot-cli@main
1010
with:
1111
github-token: ${{ secrets.PAT }}
1212
prompt: |

.github/workflows/copilot-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
core.setOutput('available_labels', labelNames.join(','));
4141
core.info(`Found ${labelNames.length} labels: ${labelNames.join(', ')}`);
4242
return labelNames;
43-
- uses: austenstone/copilot-cli-actions@main
43+
- uses: austenstone/copilot-cli@main
4444
if: steps.get_labels.outputs.available_labels != ''
4545
env:
4646
GITHUB_TOKEN: '' # Do NOT pass any auth tokens here since this runs on untrusted inputs

.github/workflows/copilot-usage-report.yml

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

.github/workflows/test-copilot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
copilot:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: austenstone/copilot-cli-actions@main
9+
- uses: austenstone/copilot-cli@main
1010
with:
1111
github-token: ${{ secrets.PAT2 }}
1212
mcp-config: |

README.md

-20 Bytes

Basic Setup

Add the following workflow to your .github/workflows folder:

name: 'Copilot Automation'
on: [issues, pull_request]

jobs:
  copilot-advanced:
    runs-on: ubuntu-latest
    steps:
      - name: 'Checkout Repository'
        uses: actions/checkout@v5
      - name: 'Run Copilot with Custom Config'
        uses: austenstone/copilot-cli@v1
        uses: austenstone/copilot-cli-actions@main
        with:
          github-token: ${{ secrets.COPILOT_TOKEN }}
          prompt: |
            Review this pull request for:
            1. Code quality and best practices
            2. Security vulnerabilities
            3. Performance implications
            4. Documentation completeness
          mcp-config: |
            {
              "mcpServers": {
                "time": {
                  "command": "uvx",
                  "args": [
                    "mcp-server-time",
                    "--local-timezone",
                    "America/New_York"
                  ],
                  "tools": ["*"]
                }
              }
            }

Configuration

Input Parameters

MCP Server Configuration

The action supports Model Context Protocol (MCP) servers for extending Copilot's capabilities. Configure MCP servers using JSON format with an mcpServers object where each key is the server name and the value contains its configuration.

0 commit comments

Comments
 (0)