Commit a219e42
ci: drop the external-token requirement from this repo
Two changes so the pipeline runs entirely on the native GITHUB_TOKEN:
- Cron and blank manual dispatches now resolve the latest published
@openrouter/agent version from the public npm registry and port that
release tag, instead of porting upstream main HEAD. This makes the
weekly cron fully equivalent to the repository_dispatch fast path
(same tag either way), so the cross-repo PAT dispatch in
typescript-agent becomes a latency optimization, not a requirement —
and it also fixes cron runs violating the 'ports track releases'
principle by syncing to mid-flight upstream commits.
- PRs opened with the native GITHUB_TOKEN don't trigger other workflows
(GitHub's recursion guard), which was the standard argument for a PAT
here. workflow_dispatch is exempt from that guard, so the port job now
explicitly dispatches ci.yaml at the upstreamer/sync branch after
opening the PR. Requires actions: write, added to the permissions
block.
No PAT or external secret is referenced anywhere in this repo now; the
only secrets are OPENROUTER_API_KEY (inference) and the built-in token.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 51ce402 commit a219e42
1 file changed
Lines changed: 32 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
54 | 73 | | |
55 | 74 | | |
56 | 75 | | |
| |||
65 | 84 | | |
66 | 85 | | |
67 | 86 | | |
68 | | - | |
| 87 | + | |
69 | 88 | | |
70 | | - | |
71 | | - | |
72 | 89 | | |
73 | 90 | | |
74 | 91 | | |
| |||
96 | 113 | | |
97 | 114 | | |
98 | 115 | | |
| 116 | + | |
99 | 117 | | |
100 | 118 | | |
101 | 119 | | |
| |||
124 | 142 | | |
125 | 143 | | |
126 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
127 | 156 | | |
128 | 157 | | |
129 | 158 | | |
| |||
0 commit comments