Repository navigation
Commit 487024f
ci: release automation follow-ups (self-pin push, remove deploy-key rotation reminder) (#645)
* ci: don't attempt gh pr create for self-pin (org blocks it)
The Azure org permanently disables 'Allow GitHub Actions to create and approve
pull requests', so gh pr create failed every release with a misleading
'PR may already exist' fallback. Remove the doomed call and instead print a
::notice:: with the compare link so the releaser opens the PR in one click.
Also drop the now-unused pull-requests: write permission and GH_TOKEN env from
the self-pin jobs (they only use git via the deploy key), and rename the step
to 'push branch'.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* ci: send deploy-key rotation reminder to Teams instead of a public issue
Azure/login is public, so a GitHub issue reminder to rotate the release deploy
key is publicly visible. Post to a private Teams channel via a Power Automate
'Workflows' webhook (TEAMS_WEBHOOK_URL secret) instead. Needs no GitHub
permissions (empty permissions block, no GITHUB_TOKEN) - the webhook URL is the
only credential.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Delete deploy-key-rotation-reminder.yml
---------
Co-authored-by: Maddison Das <272712104+MaddyMicrosoft@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 56d99fc commit 487024f
3 files changed
Lines changed: 8 additions & 51 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | 188 | | |
190 | 189 | | |
191 | 190 | | |
| |||
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
| 196 | + | |
198 | 197 | | |
199 | | - | |
200 | 198 | | |
201 | 199 | | |
202 | 200 | | |
| |||
218 | 216 | | |
219 | 217 | | |
220 | 218 | | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
| |||
124 | 123 | | |
125 | 124 | | |
126 | 125 | | |
127 | | - | |
| 126 | + | |
128 | 127 | | |
129 | | - | |
130 | 128 | | |
131 | 129 | | |
132 | 130 | | |
| |||
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
0 commit comments