0
Fork 0
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:
Gao Sun 2022-12-29 15:25:12 +08:00 committed by GitHub
parent fd71570faa
commit 2543d497f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -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

View file

@ -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