From b33c08a1c8a59f5744b3f1c24c96f5785bec22e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Oct 2025 00:47:58 +0000 Subject: [PATCH 1/2] ci: bump actions/github-script from 7 to 8 Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/check-links.yml | 2 +- .github/workflows/check-warnings.yml | 4 ++-- .github/workflows/ci-health-check.yml | 2 +- .github/workflows/lighthouse-post-deploy.yml | 2 +- .github/workflows/pr-validation.yml | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) 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..df0eeccd 100644 --- a/.github/workflows/ci-health-check.yml +++ b/.github/workflows/ci-health-check.yml @@ -30,7 +30,7 @@ jobs: - 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: | diff --git a/.github/workflows/lighthouse-post-deploy.yml b/.github/workflows/lighthouse-post-deploy.yml index 3f405542..1760ef3e 100644 --- a/.github/workflows/lighthouse-post-deploy.yml +++ b/.github/workflows/lighthouse-post-deploy.yml @@ -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'); 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: | From bba011258a6f1f585df1555f1e749de42dc95b15 Mon Sep 17 00:00:00 2001 From: Jon Phipps Date: Thu, 9 Oct 2025 21:31:30 -0400 Subject: [PATCH 2/2] chore: fix formatting in workflow files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prettier formatting was required after github-script version update. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/ci-health-check.yml | 18 +++++++++--------- .github/workflows/lighthouse-post-deploy.yml | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-health-check.yml b/.github/workflows/ci-health-check.yml index df0eeccd..f9dc5376 100644 --- a/.github/workflows/ci-health-check.yml +++ b/.github/workflows/ci-health-check.yml @@ -28,7 +28,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - + - name: Check workflow status uses: actions/github-script@v8 with: @@ -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 1760ef3e..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: @@ -102,4 +102,4 @@ jobs: issue_number: prNumber, body: comment }); - } \ No newline at end of file + }