Skip to content

Commit 5a72cc1

Browse files
committed
Sync auto-copilot-code-cleanliness-review.yml from .github repo
1 parent f3cca70 commit 5a72cc1

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/auto-copilot-code-cleanliness-review.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: "Periodic Code Cleanliness Review"
22

33
# REQUIREMENTS:
4-
# - A GitHub Personal Access Token with Copilot access must be created and stored as a repository secret named COPILOT_TOKEN
5-
# - See COPILOT_TOKEN_SETUP.md for detailed setup instructions
4+
# - The repository or organization must allow GitHub Copilot CLI in Actions
5+
# - Optional: COPILOT_TOKEN may be provided to override the default github.token
66

77
on:
88
schedule:
@@ -71,9 +71,12 @@ jobs:
7171
cat /tmp/analysis.md
7272
7373
- name: GitHub Copilot Code Review
74-
uses: austenstone/copilot-cli-action@v2
74+
uses: austenstone/copilot-cli@v3
7575
with:
76-
copilot-token: ${{ secrets.COPILOT_TOKEN }}
76+
copilot-token: ${{ secrets.COPILOT_TOKEN || github.token }}
77+
repo-token: ${{ github.token }}
78+
model: gpt-5.3-codex
79+
reasoning-effort: xhigh
7780
prompt: |
7881
Review the codebase for code cleanliness issues:
7982
1. Identify files that are too large (>500 lines) and suggest how to split them into smaller, focused modules

0 commit comments

Comments
 (0)