Commit 38818d0
authored
ci: fix sentry-release workflow Node.js version and add manual trigger (#643)
## Summary
Fixes the [failed Sentry Release
workflow](https://github.com/getsentry/cli/actions/runs/23912025434/job/69736210175)
for 0.24.0.
**Root cause:** `ubuntu-latest` ships Node.js v20.20.2 but the `sentry`
npm package requires `>=22`:
```
Error: sentry requires Node.js 22 or later (found v20.20.2).
```
## Changes
- Add `actions/setup-node@v6` with `node-version: 22` before `npm
install`
- Add `workflow_dispatch` trigger with a `version` input for manual
re-runs
- Add `gh issue create` step on `failure()` so broken releases file a
bug automatically
- Add `issues: write` permission for the failure step
## After merging
Re-run for 0.24.0:
```
gh workflow run sentry-release.yml -f version=0.24.0
```1 parent 38a48b5 commit 38818d0
1 file changed
+34
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
13 | | - | |
14 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
15 | 23 | | |
16 | 24 | | |
17 | 25 | | |
18 | 26 | | |
19 | | - | |
| 27 | + | |
20 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
| |||
33 | 46 | | |
34 | 47 | | |
35 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments