Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/scripts/version-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,15 @@ main() {

done <<< "$modules"

# Always run formatter to ensure consistent formatting
echo "🔧 Running formatter to ensure consistent formatting..."
if command -v bun >/dev/null 2>&1; then
bun fmt >/dev/null 2>&1 || echo "⚠️ Warning: bun fmt failed, but continuing..."
else
echo "⚠️ Warning: bun not found, skipping formatting"
fi
echo ""

echo "📋 Summary:"
echo "Bump Type: $bump_type"
echo ""
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/version-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Set up Terraform
uses: coder/coder/.github/actions/setup-tf@main

- name: Install dependencies
run: bun install

- name: Extract bump type from label
id: bump-type
run: |
Expand Down