Skip to content

Commit 727d02e

Browse files
Copilotstanfish06
andauthored
fix: switch weekly review from Claude to Copilot coding agent
Agent-Logs-Url: https://github.com/stanfish06/my-configs/sessions/57f2440a-02a2-4e22-a476-f59ba86a5cf0 Co-authored-by: stanfish06 <93099613+stanfish06@users.noreply.github.com>
1 parent aa6aa1f commit 727d02e

1 file changed

Lines changed: 20 additions & 22 deletions

File tree

.github/workflows/weekly-repo-review.yml

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,29 @@ jobs:
1010
weekly-review:
1111
runs-on: ubuntu-latest
1212
permissions:
13-
contents: write
14-
pull-requests: write
13+
contents: read
1514
issues: write
16-
id-token: write
17-
actions: read
1815

1916
steps:
20-
- name: Checkout repository
21-
uses: actions/checkout@v4
22-
with:
23-
fetch-depth: 0
17+
- name: Create review issue for Copilot
18+
env:
19+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
run: |
21+
WEEK=$(date -u '+%Y-W%V')
22+
gh issue create \
23+
--repo stanfish06/my-configs \
24+
--title "Weekly repo review – ${WEEK}" \
25+
--assignee "copilot" \
26+
--body "$(cat <<'EOF'
27+
@copilot Review commits and PRs merged or opened in the last 7 days and open issues in stanfish06/my-configs. For each change, check for:
2428

25-
- name: Run weekly repo review
26-
uses: anthropics/claude-code-action@v1
27-
with:
28-
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
29-
prompt: |
30-
Review commits and PRs merged or opened in the last 7 days and open issues in stanfish06/my-configs. For each change, check for:
29+
1. Information leaks — secrets, API keys, tokens, personal emails/paths, private hostnames, or anything that shouldn't be public.
30+
2. Compatibility breaks — config syntax that may be obsolete, deprecated flags, broken references between files, or changes that could break dotfile/script consumers.
31+
3. Improvement opportunities — new features, config options, or fixes worth adopting based on upstream tool updates.
3132

32-
1. Information leaks — secrets, API keys, tokens, personal emails/paths, private hostnames, or anything that shouldn't be public.
33-
2. Compatibility breaks — config syntax that may be obsolete, deprecated flags, broken references between files, or changes that could break dotfile/script consumers.
34-
3. Improvement opportunities — new features, config options, or fixes worth adopting based on upstream tool updates.
33+
For each finding, open a GitHub issue (try to send a PR with the fix if low-risk and you are confident about the patch). Never commit directly to master — always open a PR. Group related findings into a single issue/PR when sensible. If nothing actionable is found, do nothing.
3534

36-
For each finding, open a GitHub issue (try to send a PR with the fix if low-risk and you are confident about the patch). Never commit directly to master — always open a PR. Group related findings into a single issue/PR when sensible. If nothing actionable is found, do nothing.
37-
38-
Files to ignore:
39-
1. .emacs (all emacs configs in the repo can be ignored as they are actively maintained)
40-
claude_args: '--allowed-tools Bash(gh *)'
35+
Files to ignore:
36+
1. .emacs (all emacs configs in the repo can be ignored as they are actively maintained)
37+
EOF
38+
)"

0 commit comments

Comments
 (0)