From f5158fe21545d0c383d49b0f237a517b95560ca6 Mon Sep 17 00:00:00 2001 From: tienbh Date: Fri, 27 Nov 2026 11:08:46 +0700 Subject: [PATCH] ci: Define BUN_VERSION environment variable for consistent Bun setup in commits-validation workflow --- .gitea/scoped_workflows/commits-validation.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/scoped_workflows/commits-validation.yaml b/.gitea/scoped_workflows/commits-validation.yaml index d99a928..5561182 100644 --- a/.gitea/scoped_workflows/commits-validation.yaml +++ b/.gitea/scoped_workflows/commits-validation.yaml @@ -8,6 +8,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +env: + BUN_VERSION: 1.4.5 + jobs: lint-commits-and-pr: runs-on: ubuntu-latest @@ -39,6 +42,8 @@ jobs: - name: Setup Bun uses: oven-sh/setup-bun@v2 + with: + bun-version: ${{ env.BUN_VERSION }} - name: Install commitlint run: bun add --no-save @commitlint/cli @commitlint/config-conventional