Skip to content

Commit 0ff0db6

Browse files
dependabot[bot]cwperkssandeshkr419
authored
Bump actions/github-script from 7 to 8 (#19946)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Craig Perkins <[email protected]> Co-authored-by: Sandesh Kumar <[email protected]>
1 parent 97881bc commit 0ff0db6

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

.github/workflows/add-performance-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Add comment to PR
19-
uses: actions/github-script@v7
19+
uses: actions/github-script@v8
2020
with:
2121
github-token: ${{secrets.GITHUB_TOKEN}}
2222
script: |

.github/workflows/benchmark-pull-request.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
echo "USER_TAGS=pull_request_number:${{ github.event.issue.number }},repository:OpenSearch" >> $GITHUB_ENV
2929
- name: Check comment format
3030
id: check_comment
31-
uses: actions/github-script@v7
31+
uses: actions/github-script@v8
3232
with:
3333
script: |
3434
const fs = require('fs');
@@ -68,7 +68,7 @@ jobs:
6868
}
6969
- name: Post invalid format comment
7070
if: steps.check_comment.outputs.invalid == 'true'
71-
uses: actions/github-script@v7
71+
uses: actions/github-script@v8
7272
with:
7373
github-token: ${{secrets.GITHUB_TOKEN}}
7474
script: |
@@ -85,7 +85,7 @@ jobs:
8585
exit 1
8686
- name: Get PR Details
8787
id: get_pr
88-
uses: actions/github-script@v7
88+
uses: actions/github-script@v8
8989
with:
9090
script: |
9191
const issue = context.payload.issue;
@@ -111,7 +111,7 @@ jobs:
111111
echo "prHeadRepo=$headRepo" >> $GITHUB_ENV
112112
echo "prHeadRefSha=$headRefSha" >> $GITHUB_ENV
113113
- id: get_approvers
114-
uses: actions/github-script@v7
114+
uses: actions/github-script@v8
115115
with:
116116
github-token: ${{ secrets.GITHUB_TOKEN }}
117117
result-encoding: json
@@ -169,7 +169,7 @@ jobs:
169169
cat $GITHUB_ENV
170170
bash opensearch-build/scripts/benchmark/benchmark-pull-request.sh -t ${{ secrets.JENKINS_PR_BENCHMARK_GENERIC_WEBHOOK_TOKEN }} -u ${{ secrets.JENKINS_GITHUB_USER}} -p ${{ secrets.JENKINS_GITHUB_USER_TOKEN}}
171171
- name: Update PR with Job Url
172-
uses: actions/github-script@v7
172+
uses: actions/github-script@v8
173173
with:
174174
github-token: ${{ secrets.GITHUB_TOKEN }}
175175
script: |

.github/workflows/delete_backport_branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'opensearch-project/OpenSearch' && (startsWith(github.event.pull_request.head.ref,'backport/') || startsWith(github.event.pull_request.head.ref,'release-chores/'))
1313
steps:
1414
- name: Delete merged branch
15-
uses: actions/github-script@v7
15+
uses: actions/github-script@v8
1616
with:
1717
script: |
1818
github.rest.git.deleteRef({

.github/workflows/gradle-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
echo "post_merge_action=false" >> $GITHUB_ENV
6262
6363
# to get the PR data that can be used for post merge actions
64-
- uses: actions/github-script@v7
64+
- uses: actions/github-script@v8
6565
if: github.event_name == 'push'
6666
id: get_pr_data
6767
with:

.github/workflows/triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: github.repository == 'opensearch-project/OpenSearch'
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/github-script@v7
12+
- uses: actions/github-script@v8
1313
with:
1414
script: |
1515
const { issue, repository } = context.payload;

.github/workflows/version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Create tracking issue
105105
id: create-issue
106-
uses: actions/github-script@v7
106+
uses: actions/github-script@v8
107107
with:
108108
script: |
109109
const body = `

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9696
- Deprecated existing constructors in DocStats and StoreStats in favor of the new Builder ([#19863](https://github.com/opensearch-project/OpenSearch/pull/19863))
9797
- Deprecated existing constructors in Condition.Stats and DirectoryFileTransferTracker.Stats in favor of the new Builder ([#19862](https://github.com/opensearch-project/OpenSearch/pull/19862))
9898
- Deprecated existing constructors in RemoteTranslogTransferTracker.Stats and RemoteSegmentTransferTracker.Stats in favor of the new Builder ([#19837](https://github.com/opensearch-project/OpenSearch/pull/19837))
99+
- Bump `actions/github-script` from 7 to 8 ([#19946](https://github.com/opensearch-project/OpenSearch/pull/19946))
99100
- Bump `com.google.api:gax-httpjson` from 2.69.0 to 2.72.1 ([#19943](https://github.com/opensearch-project/OpenSearch/pull/19943))
100101

101102
### Removed

0 commit comments

Comments
 (0)