π OpenHands: AI-Driven Development
chore(deps): bump actions/github-script from 7 to 9 (#13958)
dependabot[bot]a5a7a86600dd
diff --git a/.github/workflows/openhands-resolver.yml b/.github/workflows/openhands-resolver.ymlindex 27facde4be..05de82c1fa 100644--- a/.github/workflows/openhands-resolver.yml+++ b/.github/workflows/openhands-resolver.yml@@ -192,7 +192,7 @@ jobs:echo "TARGET_BRANCH=${{ inputs.target_branch || 'main' }}" >> $GITHUB_ENV- name: Comment on issue with start message- uses: actions/github-script@v7+ uses: actions/github-script@v9with:github-token: ${{ secrets.PAT_TOKEN || github.token }}script: |@@ -206,7 +206,7 @@ jobs:- name: Install OpenHandsid: install_openhands- uses: actions/github-script@v7+ uses: actions/github-script@v9env:COMMENT_BODY: ${{ github.event.comment.body || '' }}REVIEW_BODY: ${{ github.event.review.body || '' }}@@ -305,7 +305,7 @@ jobs:# Step leaves comment for when agent is invoked on PR- name: Analyze Push Logs (Updated PR or No Changes) # Skip comment if PR update was successful OR leave comment if the agent made no code changes- uses: actions/github-script@v7+ uses: actions/github-script@v9if: always()env:AGENT_RESPONDED: ${{ env.AGENT_RESPONDED || 'false' }}@@ -341,7 +341,7 @@ jobs:# Step leaves comment for when agent is invoked on issue- name: Comment on issue # Comment link to either PR or branch created by agent- uses: actions/github-script@v7+ uses: actions/github-script@v9if: always() # Comment on issue even if the previous steps failenv:AGENT_RESPONDED: ${{ env.AGENT_RESPONDED || 'false' }}@@ -416,7 +416,7 @@ jobs:# Leave error comment when both PR/Issue comment handling fail- name: Fallback Error Comment- uses: actions/github-script@v7+ uses: actions/github-script@v9if: ${{ env.AGENT_RESPONDED == 'false' }} # Only run if no conditions were met in previous stepsenv:ISSUE_NUMBER: ${{ env.ISSUE_NUMBER }}diff --git a/.github/workflows/pr-artifacts.yml b/.github/workflows/pr-artifacts.ymlindex f0c6ee0f80..0134be3757 100644--- a/.github/workflows/pr-artifacts.yml+++ b/.github/workflows/pr-artifacts.yml@@ -59,7 +59,7 @@ jobs:- name: Update PR comment after cleanupif: steps.check-fork.outputs.is_fork == 'false' && steps.remove.outputs.removed == 'true'- uses: actions/github-script@v7+ uses: actions/github-script@v9with:script: |const marker = '<!-- pr-artifacts-notice -->';@@ -107,7 +107,7 @@ jobs:- name: Post or update PR commentif: steps.check.outputs.exists == 'true'- uses: actions/github-script@v7+ uses: actions/github-script@v9with:script: |const marker = '<!-- pr-artifacts-notice -->';diff --git a/.github/workflows/welcome-good-first-issue.yml b/.github/workflows/welcome-good-first-issue.ymlindex 4bedc4a48b..a23edf8c08 100644--- a/.github/workflows/welcome-good-first-issue.yml+++ b/.github/workflows/welcome-good-first-issue.yml@@ -14,7 +14,7 @@ jobs:steps:- name: Check if welcome comment already existsid: check_comment- uses: actions/github-script@v7+ uses: actions/github-script@v9with:result-encoding: stringscript: |@@ -33,7 +33,7 @@ jobs:- name: Leave welcome commentif: steps.check_comment.outputs.result == 'false'- uses: actions/github-script@v7+ uses: actions/github-script@v9with:script: |const repoUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}`;