fix: Feat/new workflow (#118)

* update: release

* fix

* fix

* fix

* Update docker.yml

* fix

* Update auto-release.yml

* Update auto-release.yml

* add: bumper

* Update auto-release.yml

---------

Co-authored-by: Théo LAGACHE <theo.lagache@soluce-technologies.com>
This commit is contained in:
Théo LAGACHE
2026-03-03 17:00:01 +01:00
committed by GitHub
co-authored by Théo LAGACHE
parent 66f0930164
commit 3b0d4225ce
+10 -15
View File
@@ -1,41 +1,36 @@
name: Auto Release name: Auto Release
on: on:
push: pull_request:
types: [closed]
branches: branches:
- main - main
jobs: jobs:
release: release:
name: Run release-it if: github.event.pull_request.merged == true
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
steps: steps:
- name: Checkout repository - uses: actions/checkout@v4
uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install pnpm - uses: pnpm/action-setup@v4
uses: pnpm/action-setup@v4
- name: Setup Node.js - uses: actions/setup-node@v4
uses: actions/setup-node@v4
with: with:
node-version: "lts/*" node-version: "lts/*"
cache: "pnpm" cache: "pnpm"
- name: Install dependencies - run: pnpm install --frozen-lockfile
run: pnpm install --frozen-lockfile
- name: Configure Git User - run: git config --global user.name 'github-actions[bot]'
run: | - run: git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Run release-it - name: Run release-it
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: pnpm exec release-it --ci run: pnpm exec release-it --ci --no-git.push --no-git.commit