Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-warnings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -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 }};
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci-health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@ 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: |
const { data: workflows } = await github.rest.actions.listRepoWorkflows({
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})`);

Expand All @@ -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: |
Expand All @@ -80,7 +80,7 @@ jobs:
echo ""
echo "### Security Audit"
pnpm audit || true

- name: Check Nx configuration
if: github.event.inputs.check_type == 'full'
run: |
Expand All @@ -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
Expand All @@ -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
echo "- ⚠️ Nx Cloud distributed execution disabled (for simplicity)" >> $GITHUB_STEP_SUMMARY
6 changes: 3 additions & 3 deletions .github/workflows/lighthouse-post-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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');
Expand All @@ -102,4 +102,4 @@ jobs:
issue_number: prNumber,
body: comment
});
}
}
4 changes: 2 additions & 2 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }};
Expand Down Expand Up @@ -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: |
Expand Down
Loading