Commit ffcbb0c
authored
ci: improve release workflows and update node engine requirement (#200)
## Summary
Two small improvements to the CI/CD setup:
- **`ci: improve release workflows and permissions`** — tightens
permission scopes in
`release-tag.yml` (`contents: write` comment clarified,
`persist-credentials: true`
enabled so tag pushes work), and adds a trailing newline to the PR-body
`BODY` string
in `release-pr.yml` to fix formatting in generated release PRs.
- **`fix(package): update node engine requirement to >=24`** — changes
the engines
constraint from the exact string `"24"` to `">=24"` so the project
continues to work
with future Node.js major releases without requiring a version bump to
`package.json`.
## Changed files
| File | Change |
|------|--------|
| `.github/workflows/release-pr.yml` | Add trailing `\n` to
`BODY`/`TRUNCATED` strings |
| `.github/workflows/release-tag.yml` | Clarify `contents: write`
comment; enable `persist-credentials` |
| `package.json` | Engine constraint `"24"` -> `">=24"` |
## Type of change
- [x] CI/CD or workflow improvement
- [x] Bug fix (non-breaking)
## Pre-flight checklist
- [x] Commits follow Conventional Commits
- [x] No breaking changes
- [x] No new dependencies introduced3 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments