From 9636188f8b4cbe2fab9355284c9968c6a182a597 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 15:15:18 +0000 Subject: [PATCH] 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/agent-pr-metrics.yml | 6 +++--- .github/workflows/auto-approve-agent.yml | 8 ++++---- .github/workflows/auto-assign-copilot.yml | 6 +++--- .github/workflows/dependabot-auto-merge.yml | 4 ++-- .github/workflows/issue-automation.yml | 8 ++++---- .github/workflows/pr-automation.yml | 6 +++--- .github/workflows/stale-cleanup.yml | 2 +- .github/workflows/weekly-metrics.yml | 4 ++-- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/agent-pr-metrics.yml b/.github/workflows/agent-pr-metrics.yml index 8ae6ad1..c02d2be 100644 --- a/.github/workflows/agent-pr-metrics.yml +++ b/.github/workflows/agent-pr-metrics.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Record agent PR opened if: github.event.action == 'opened' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const pr = context.payload.pull_request; @@ -48,7 +48,7 @@ jobs: - name: Calculate agent success metrics if: github.event.action == 'closed' && github.event.pull_request.merged == true - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const pr = context.payload.pull_request; @@ -85,7 +85,7 @@ jobs: - name: Record agent PR closed without merge if: github.event.action == 'closed' && github.event.pull_request.merged == false - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const pr = context.payload.pull_request; diff --git a/.github/workflows/auto-approve-agent.yml b/.github/workflows/auto-approve-agent.yml index d2c87be..decfd47 100644 --- a/.github/workflows/auto-approve-agent.yml +++ b/.github/workflows/auto-approve-agent.yml @@ -23,7 +23,7 @@ jobs: fetch-depth: 0 # Get full history for comparison - name: Wait for CI checks - uses: actions/github-script@v7 + uses: actions/github-script@v8 id: check-ci with: script: | @@ -61,7 +61,7 @@ jobs: - name: Check PR quality criteria id: quality-check - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const pr = context.payload.pull_request; @@ -100,7 +100,7 @@ jobs: - name: Auto-approve if quality met if: steps.check-ci.outputs.ci_passed == 'true' && steps.quality-check.outputs.all_passed == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | await github.rest.pulls.createReview({ @@ -133,7 +133,7 @@ jobs: - name: Comment on quality failures if: steps.check-ci.outputs.ci_passed != 'true' || steps.quality-check.outputs.all_passed != 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const ciPassed = '${{ steps.check-ci.outputs.ci_passed }}' === 'true'; diff --git a/.github/workflows/auto-assign-copilot.yml b/.github/workflows/auto-assign-copilot.yml index 79233de..a802329 100644 --- a/.github/workflows/auto-assign-copilot.yml +++ b/.github/workflows/auto-assign-copilot.yml @@ -26,7 +26,7 @@ jobs: - name: Get merged PR details if: github.event_name == 'pull_request' id: pr_details - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const pr = context.payload.pull_request; @@ -44,7 +44,7 @@ jobs: return issueNumbers; - name: Check and assign dependent issues - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: COMPLETED_ISSUES: ${{ steps.pr_details.outputs.completed_issues || '[]' }} with: @@ -145,7 +145,7 @@ jobs: } - name: Update dependency tracking comment - uses: actions/github-script@v7 + uses: actions/github-script@v8 if: github.event_name == 'pull_request' with: script: | diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 60b7a07..8c6d515 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -23,7 +23,7 @@ jobs: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Wait for CI checks - uses: actions/github-script@v7 + uses: actions/github-script@v8 id: check-ci with: script: | @@ -75,7 +75,7 @@ jobs: - name: Comment on major updates if: steps.metadata.outputs.update-type == 'version-update:semver-major' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | await github.rest.issues.createComment({ diff --git a/.github/workflows/issue-automation.yml b/.github/workflows/issue-automation.yml index 3a32e8a..ec2e1bd 100644 --- a/.github/workflows/issue-automation.yml +++ b/.github/workflows/issue-automation.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Label feature requests if: contains(github.event.issue.body, 'As a') && contains(github.event.issue.body, 'I want') - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | github.rest.issues.addLabels({ @@ -27,7 +27,7 @@ jobs: - name: Label bugs if: contains(github.event.issue.body, 'Bug Description') || contains(github.event.issue.body, 'Steps to Reproduce') - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | github.rest.issues.addLabels({ @@ -46,7 +46,7 @@ jobs: steps: - name: Verify acceptance criteria - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const body = context.payload.issue.body || ''; @@ -85,7 +85,7 @@ jobs: steps: - name: Add Copilot assignment instructions - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml index 391d557..b73c4d7 100644 --- a/.github/workflows/pr-automation.yml +++ b/.github/workflows/pr-automation.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v4 - name: Label by file changes - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { data: files } = await github.rest.pulls.listFiles({ @@ -58,7 +58,7 @@ jobs: steps: - name: Analyze PR size - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { data: pr } = await github.rest.pulls.get({ @@ -92,7 +92,7 @@ jobs: steps: - name: Verify tests included - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { data: files } = await github.rest.pulls.listFiles({ diff --git a/.github/workflows/stale-cleanup.yml b/.github/workflows/stale-cleanup.yml index b0a2180..fb75913 100644 --- a/.github/workflows/stale-cleanup.yml +++ b/.github/workflows/stale-cleanup.yml @@ -116,7 +116,7 @@ jobs: fetch-depth: 0 - name: Delete old copilot branches without PRs - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { data: branches } = await github.rest.repos.listBranches({ diff --git a/.github/workflows/weekly-metrics.yml b/.github/workflows/weekly-metrics.yml index 011ea8a..876f6a1 100644 --- a/.github/workflows/weekly-metrics.yml +++ b/.github/workflows/weekly-metrics.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Calculate weekly metrics id: metrics - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const oneWeekAgo = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000); @@ -110,7 +110,7 @@ jobs: }; - name: Post weekly metrics report - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const metrics = ${{ steps.metrics.outputs.result }};