This repository was archived by the owner on Feb 15, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (40 loc) · 1.32 KB
/
Copy pathrelease.yaml
File metadata and controls
47 lines (40 loc) · 1.32 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
41
42
43
44
45
46
47
name: ChangeSet
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
if: github.repository == 'KemingHe/buckeye-gpt'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
env:
# Disable Husky hooks during CI.
HUSKY: 0
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up pnpm before node
# Pinned to commit hash of release v4.0.0 on 05/07/24.
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2
# Omit with to use package.json packageManager field pnpm version.
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Create changeset release pull request
# Pinned to commit hash of release v1.4.9 on 10/14/24.
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
commit: 'chore(package.json, CHANGELOG.md): created new changeset release'
title: 'chore(package.json, CHANGELOG.md): created new changeset release'