mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
ci: fix workflows (#2759)
This commit is contained in:
parent
fd71570faa
commit
2543d497f7
2 changed files with 10 additions and 2 deletions
2
.github/workflows/changesets.yml
vendored
2
.github/workflows/changesets.yml
vendored
|
@ -22,8 +22,6 @@ jobs:
|
|||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
with:
|
||||
node: 18
|
||||
|
||||
- name: Import GPG key
|
||||
uses: crazy-max/ghaction-import-gpg@v5
|
||||
|
|
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
@ -87,6 +87,11 @@ jobs:
|
|||
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
# Set Git operations with the bot PAT since we have tag protection rule
|
||||
token: ${{ secrets.BOT_PAT }}
|
||||
|
||||
- name: Setup Node and pnpm
|
||||
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
||||
|
||||
|
@ -99,6 +104,11 @@ jobs:
|
|||
git_commit_gpgsign: true
|
||||
git_tag_gpgsign: true
|
||||
|
||||
- name: Configure Git user
|
||||
run: |
|
||||
git config --global user.email bot@silverhand.io
|
||||
git config --global user.name silverhand-bot
|
||||
|
||||
- name: Publish
|
||||
run: node .script/publish.js
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue