This commit is contained in:
charlesgauthereau
2026-03-06 09:05:43 +01:00
parent 2e298ce757
commit ded26f92af
+4 -2
View File
@@ -2,7 +2,7 @@ name: Auto Release bot
on: on:
pull_request: pull_request:
types: [closed] types: [ closed ]
branches: branches:
- main - main
@@ -38,10 +38,12 @@ jobs:
- run: git config --global user.name 'github-actions[bot]' - run: git config --global user.name 'github-actions[bot]'
- run: git config --global user.email 'github-actions[bot]@users.noreply.github.com' - run: git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Push tags
run: git push origin --tags
- name: Run release-it - name: Run release-it
run: | run: |
git pull origin main git pull origin main
pnpm exec release-it --ci pnpm exec release-it --ci
git push origin --tags
env: env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}