Skip to content

Commit f60bf48

Browse files
Copilotcraxal
andcommitted
docs: restore PAT-as-temporary-mechanism note and GitHub App production path
Co-authored-by: craxal <3473026+craxal@users.noreply.github.com>
1 parent 804cc29 commit f60bf48

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/stale-issue-cleanup.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ name: Stale Issue Cleanup
2727
# - `project` — update the Resolution field on the org-level project
2828
# - `repo` — comment on and close issues
2929
#
30+
# PATs are a temporary onboarding mechanism. For production, replace with a GitHub App
31+
# token to avoid manual renewal:
32+
# - Register a "Storage Explorer Automation" GitHub App in the microsoft org
33+
# - Grant it `members:read` and `projects:write` permissions
34+
# - Install it on this repo
35+
# - Use `actions/create-github-app-token` to generate tokens at runtime
36+
# Note: a GitHub App cannot hold a Copilot seat, so COPILOT_TOKEN will always require
37+
# a personal Fine-Grained PAT.
38+
#
3039
# # Install Step Note
3140
#
3241
# The "Install Copilot CLI" step downloads from gh.io/copilot-install, which is a public

0 commit comments

Comments
 (0)