| 1 |
# spell-checker:ignore Swatinem |
| 2 |
name: Copilot Code Review |
| 3 |
|
| 4 |
# Declares the runner used by Copilot code review. Without this file, the |
| 5 |
# review can fail to start before its timeout because no runner is assigned. |
| 6 |
on: |
| 7 |
workflow_dispatch: |
| 8 |
pull_request: |
| 9 |
paths: |
| 10 |
- .github/workflows/copilot-code-review.yml |
| 11 |
|
| 12 |
permissions: |
| 13 |
contents: read |
| 14 |
|
| 15 |
jobs: |
| 16 |
copilot-setup-steps: |
| 17 |
# Copilot code review only supports Ubuntu x64 runners. |
| 18 |
runs-on: ubuntu-latest |
| 19 |
steps: |
| 20 |
- uses: actions/[email protected] |
| 21 |
with: |
| 22 |
persist-credentials: false |
| 23 |
- uses: Swatinem/rust-cache@v2 |