-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.09 KB
/
release.yml
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
name: Release
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node and pnpm
uses: silverhand-io/actions-node-pnpm-run-steps@v4
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.BOT_GPG_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
git_tag_gpgsign: true
- name: Configure Git user
run: |
git config --global user.email [email protected]
git config --global user.name silverhand-bot
- name: Create release pull request
uses: changesets/action@v1
with:
publish: pnpm changeset tag
commit: 'release: version packages'
title: 'release: version packages'
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.BOT_PAT }}