Skip to content

chore(deps): bump @astrojs/vercel from 9.0.5 to 10.0.2 #1

chore(deps): bump @astrojs/vercel from 9.0.5 to 10.0.2

chore(deps): bump @astrojs/vercel from 9.0.5 to 10.0.2 #1

name: Commit Validation ADU
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
- develop
jobs:
validate-commits:
name: Validate PR Commits
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'pnpm'
- name: Install dependencies
run: |
corepack enable
pnpm install --frozen-lockfile
- name: Validate commit messages
run: |
echo "Validating commits for PR #${{ github.event.pull_request.number }}"
BASE_SHA="${{ github.event.pull_request.base.sha }}"
HEAD_SHA="${{ github.event.pull_request.head.sha }}"
echo "Base SHA: $BASE_SHA"
echo "Head SHA: $HEAD_SHA"
COMMITS=$(git log --oneline "$BASE_SHA..$HEAD_SHA" | wc -l)
echo "Number of commits in PR: $COMMITS"
if [ "$COMMITS" -eq 0 ]; then
echo "No commits found in PR range"
exit 0
fi
node scripts/validate-commits.mjs "$BASE_SHA" "$HEAD_SHA"
- name: Documentation link integrity
run: pnpm ops check-links
- name: Install Playwright browser
run: pnpm exec playwright install --with-deps chromium
- name: Required validation suite
run: pnpm ci