diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index dae91a02..c48043aa 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -87,7 +87,7 @@ jobs: - name: Create issue if broken links found if: always() - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const fs = require('fs'); diff --git a/.github/workflows/check-warnings.yml b/.github/workflows/check-warnings.yml index 43149191..4ecbe494 100644 --- a/.github/workflows/check-warnings.yml +++ b/.github/workflows/check-warnings.yml @@ -93,7 +93,7 @@ jobs: - name: Comment PR with summary if: github.event_name == 'pull_request' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const fs = require('fs'); @@ -162,7 +162,7 @@ jobs: - name: Create issue for daily check if: github.event_name == 'schedule' && steps.warnings.outputs.warning_count != '0' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const warningCount = ${{ steps.warnings.outputs.warning_count }}; diff --git a/.github/workflows/ci-health-check.yml b/.github/workflows/ci-health-check.yml index 85d71ec1..f9dc5376 100644 --- a/.github/workflows/ci-health-check.yml +++ b/.github/workflows/ci-health-check.yml @@ -28,9 +28,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + - name: Check workflow status - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -38,14 +38,14 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, }); - + console.log('## Active Workflows'); const activeWorkflows = workflows.workflows.filter(w => w.state === 'active' && !w.path.includes('.disabled') && !w.path.includes('backup') ); - + for (const workflow of activeWorkflows) { console.log(`- ${workflow.name} (${workflow.path})`); @@ -62,14 +62,14 @@ jobs: console.log(` Success rate (last 5 runs): ${successRate.toFixed(0)}%`); } } - + - uses: pnpm/action-setup@v4 - + - uses: actions/setup-node@v5 with: node-version: 22 cache: 'pnpm' - + - name: Check dependencies if: github.event.inputs.check_type == 'dependencies' || github.event.inputs.check_type == 'full' run: | @@ -80,7 +80,7 @@ jobs: echo "" echo "### Security Audit" pnpm audit || true - + - name: Check Nx configuration if: github.event.inputs.check_type == 'full' run: | @@ -92,7 +92,7 @@ jobs: echo "" echo "### Affected Detection Test" npx nx show projects --affected --base=HEAD~1 || true - + - name: Generate health report run: | echo "## 🏥 CI Pipeline Health Report" >> $GITHUB_STEP_SUMMARY @@ -113,4 +113,4 @@ jobs: echo "- ✅ Parallel execution configured" >> $GITHUB_STEP_SUMMARY echo "- ✅ Build caching active" >> $GITHUB_STEP_SUMMARY echo "- ✅ Admin tests excluded" >> $GITHUB_STEP_SUMMARY - echo "- ⚠️ Nx Cloud distributed execution disabled (for simplicity)" >> $GITHUB_STEP_SUMMARY \ No newline at end of file + echo "- ⚠️ Nx Cloud distributed execution disabled (for simplicity)" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/lighthouse-post-deploy.yml b/.github/workflows/lighthouse-post-deploy.yml index 3f405542..43496687 100644 --- a/.github/workflows/lighthouse-post-deploy.yml +++ b/.github/workflows/lighthouse-post-deploy.yml @@ -2,7 +2,7 @@ name: Lighthouse Post-Deployment Audit on: workflow_run: - workflows: ["Nx Optimized Documentation Deploy"] + workflows: ['Nx Optimized Documentation Deploy'] types: - completed branches: @@ -81,7 +81,7 @@ jobs: - name: Comment on PR (if triggered by PR deployment) if: github.event.workflow_run.event == 'pull_request' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const fs = require('fs'); @@ -102,4 +102,4 @@ jobs: issue_number: prNumber, body: comment }); - } \ No newline at end of file + } diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index ff715d50..358b2ea6 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -287,7 +287,7 @@ jobs: - name: Comment PR with warnings summary if: github.event_name == 'pull_request' && steps.warnings.outputs.warning_count != '0' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const warningCount = ${{ steps.warnings.outputs.warning_count }}; @@ -370,7 +370,7 @@ jobs: if: failure() - name: Generate PR comment - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |