-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1.02 KB
/
Copy pathchangesets.yml
File metadata and controls
40 lines (33 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Prepare Release Changelog
on:
push:
branches:
- main
- pras75299/initial-feature-setup
workflow_dispatch:
jobs:
changesets:
name: Open or update release PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.33.0
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create release PR from changesets
uses: changesets/action@v1
with:
version: pnpm version-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The pre-commit hook (scripts/pre-commit.sh) refuses to commit
# Markdown files without explicit approval. The changesets action
# commits regenerated CHANGELOG.md files programmatically, so opt
# into the documented escape hatch. Tests + lint still run.
ALLOW_MD: "1"