Repository navigation
Commit f680f6b
Migrate AI CHANGELOG entry generation to Copilot CLI
GitHub Models (the models.github.ai inference API backing
actions/ai-inference@v1) was fully retired on July 30, 2026:
Error: 410 GitHub Models is temporarily unavailable as part of a
scheduled retirement brownout.
actions/ai-inference@v1 has since been rewritten (v3) to exclusively
shell out to the GitHub Copilot CLI instead of calling GitHub Models
directly. Update the workflow to match:
- Install and authenticate the Copilot CLI (npm install -g
@github/copilot) before invoking actions/ai-inference@v1, using a
COPILOT_GITHUB_TOKEN sourced from a new COPILOT_PAT repo secret
(requires a Copilot-enabled account/subscription; free for
individual/OSS maintainer tiers, but no longer works with the
default GITHUB_TOKEN).
- Drop the models: read permission, no longer needed.
- The v3 action also dropped structured JSON schema output
(responseFormat/jsonSchema); the prompt now asks the model to
return a bare JSON object with no markdown fences, and the
"Build changelog entries" step strips any ``` fences defensively
before parsing with jq.
NOTE: requires adding a COPILOT_PAT secret (a PAT for an account
with Copilot CLI access) to this repository's Actions secrets for
the workflow to actually run.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2d66c31 commit f680f6b
3 files changed
Lines changed: 14 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
52 | | - | |
| 57 | + | |
53 | 58 | | |
54 | 59 | | |
| 60 | + | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
62 | 70 | | |
63 | | - | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments