Skip to content

Fix repo_cleanup authentication and repository targeting - #2

Merged
ballsop merged 2 commits into
mainfrom
copilot/fix-repo-cleanup-job
Nov 2, 2026
Merged

ballsop merged 2 commits into
mainfrom
copilot/fix-repo-cleanup-job

Conversation

Copilot AI commented Nov 1, 2026 •

Copy link
Copy Markdown

Description

repo_cleanup fails because GitHub App credentials are unavailable. Its API URLs also hard-code the microsoft owner instead of targeting the current repository.

  • Authentication: Use github.token with explicit contents, issues, and pull-request write permissions.
  • Repository targeting: Use github.repository for both cleanup steps.

For details on how to complete these options and their meaning refer to CONTRIBUTING.md.

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?

How This Was Tested

Validated YAML, shell syntax, and 24 mocked cleanup scenarios covering labeled items, unlabeled items, empty results, and different repository owners. Secret scanning and CodeQL reported no findings. Live Actions execution remains unverified.

Integration Instructions

N/A

Co-authored-by: ballsop <47333194+ballsop@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job repo_cleanup Fix repo_cleanup authentication and repository targeting Nov 1, 2026
Copilot AI requested a review from ballsop November 1, 2026 22:45
@ballsop
ballsop marked this pull request as ready for review November 2, 2026 21:13
@ballsop
ballsop merged commit 37665ba into main Nov 2, 2026
2 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants