
find issues in this github actions file. this is for astro b...
Prompt
find issues in this github actions file. this is for astro based job search website. name: CI on: push: branches: [main, master] pull_request: branches: [main, master] permissions: contents: read pull-requests: read concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true jobs: validate: name: Code Quality & Security Check runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 with: fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v5 with: node-version: 22 cache: "npm" - name: Install dependencies run: npm ci - name: 1. Formatting Check (Prettier) run: | npx prettier --check . || echo "::warning title=Prettier Formatting Warning::Code style issues found. Run 'npm run format' locally to fix." - name: 2. Linting (ESLint) run: npm run lint - name: 3. Type Safety (Astro Check) run: npm run check - name: 4. Dead Code Check (Knip) run: npm run knip - name: 5. Database Schema Check (Drizzle Kit) run: npm run db:check - name: 6. Secret Leak Scan (Gitleaks) uses: gitleaks/gitleaks-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 7. Security Audit (npm audit) run: npm audit --audit-level=high