Commit 7ce108c
fix: don't fail release on assignee errors (#81)
GitHub App installation tokens cannot assign bots/apps via the REST
`addAssignees` endpoint — the call rejects with "Assigning agents is
not supported with GitHub App installation tokens." When a `Version`
workflow runs under an app-issued token and the actor is itself a bot
(e.g. `exodus-neo[bot]`), the assignee defaults to that bot and the
whole release fails — even though the PR is otherwise created.
Wrap `addAssignees` in `.catch(core.warning)` to match the precedent
already in place for `requestReviewers` (#80) and `enablePullRequestAutoMerge`.
PR adornment is best-effort and shouldn't fail the release.
Co-authored-by: exodus-neo <exodus-neo@users.noreply.github.com>
Co-authored-by: Mark <exo-mv@users.noreply.github.com>1 parent cb423bc commit 7ce108c
5 files changed
Lines changed: 23 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
0 commit comments