Skip to content

Commit 8fba98f

Browse files
authored
Merge branch 'main' into subquery-fixes-on-21795-v2
2 parents 31df763 + 0c60e50 commit 8fba98f

71 files changed

Lines changed: 2886 additions & 435 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.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@v8
19+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
2020
with:
2121
github-token: ${{secrets.GITHUB_TOKEN}}
2222
script: |

.github/workflows/assemble.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
java: [ 21, 25 ]
2020
os: [ubuntu-latest, windows-latest, macos-15, ubuntu-24.04-arm]
2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2323
# https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
2424
- name: Install protoc (Linux)
2525
if: ${{ runner.os == 'Linux' }}
@@ -32,7 +32,7 @@ jobs:
3232
unzip protoc.zip -d $HOME/.local && rm -v protoc.zip && protoc --version
3333
- name: Install protoc (Windows)
3434
if: ${{ runner.os == 'Windows' }}
35-
uses: MinoruSekine/setup-scoop@v4.0.2
35+
uses: MinoruSekine/setup-scoop@894de8858093e82e95b5f9d13ba907e90d16e954 # v4.0.2
3636
with:
3737
scoop_update: false
3838
buckets: extras
@@ -46,7 +46,7 @@ jobs:
4646
sudo rm -rf /usr/share/dotnet
4747
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
4848
- name: Set up JDK ${{ matrix.java }}
49-
uses: actions/setup-java@v5
49+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5050
with:
5151
java-version: ${{ matrix.java }}
5252
distribution: temurin

.github/workflows/auto-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
steps:
1515
- name: GitHub App token
1616
id: github_app_token
17-
uses: tibdex/github-app-token@v2.1.0
17+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
1818
with:
1919
app_id: ${{ secrets.APP_ID }}
2020
private_key: ${{ secrets.APP_PRIVATE_KEY }}
2121
installation_id: 22958780
2222
- name: Get tag
2323
id: tag
24-
uses: dawidd6/action-get-tag@v1
25-
- uses: actions/checkout@v6
26-
- uses: ncipollo/release-action@v1
24+
uses: dawidd6/action-get-tag@727a6f0a561be04e09013531e73a3983a65e3479 # v1
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
26+
- uses: ncipollo/release-action@339a81892b84b4eeb0f6e744e4574d79d0d9b8dd # v1
2727
with:
2828
github_token: ${{ steps.github_app_token.outputs.token }}
2929
bodyFile: release-notes/opensearch.release-notes-${{steps.tag.outputs.tag}}.md

.github/workflows/backport.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
steps:
2727
- name: GitHub App token
2828
id: github_app_token
29-
uses: tibdex/github-app-token@v2.1.0
29+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
3030
with:
3131
app_id: ${{ secrets.APP_ID }}
3232
private_key: ${{ secrets.APP_PRIVATE_KEY }}
3333
installation_id: 22958780
3434

3535
- name: Backport
36-
uses: VachaShah/backport@v2.2.0
36+
uses: VachaShah/backport@142d3b8a8c70dc54db515e653e5ed3c3fac64100 # v2.2.0
3737
with:
3838
github_token: ${{ steps.github_app_token.outputs.token }}
3939
head_template: backport/backport-<%= number %>-to-<%= base %>

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
pull-requests: write
1717
steps:
1818
- name: Checkout Repository
19-
uses: actions/checkout@v6
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020
- name: Set up required env vars
2121
run: |
2222
echo "PR_NUMBER=${{ github.event.issue.number }}" >> $GITHUB_ENV
@@ -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@v8
31+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 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@v8
71+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 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@v8
88+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 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@v8
114+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
115115
with:
116116
github-token: ${{ secrets.GITHUB_TOKEN }}
117117
result-encoding: json
@@ -125,7 +125,7 @@ jobs:
125125
per_page: 100
126126
});
127127
return maintainersResponse.data.map(item => item.login);
128-
- uses: trstringer/manual-approval@v1
128+
- uses: trstringer/manual-approval@74d99dff7380e3e4b122d4ededcbca2b6ce59367 # v1
129129
if: ${{ !contains(fromJSON(steps.get_approvers.outputs.result), github.event.comment.user.login) }}
130130
with:
131131
secret: ${{ github.TOKEN }}
@@ -135,21 +135,21 @@ jobs:
135135
issue-body: "Please approve or deny the benchmark run for PR #${{ env.PR_NUMBER }}"
136136
exclude-workflow-initiator-as-approver: false
137137
- name: Checkout PR Repo
138-
uses: actions/checkout@v6
138+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
139139
with:
140140
repository: ${{ env.prHeadRepo }}
141141
ref: ${{ env.prHeadRefSha }}
142142
token: ${{ secrets.GITHUB_TOKEN }}
143143
- name: Setup Java
144-
uses: actions/setup-java@v5
144+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
145145
with:
146146
java-version: 21
147147
distribution: 'temurin'
148148
- name: Build and Assemble OpenSearch from PR
149149
run: |
150150
./gradlew :distribution:archives:linux-tar:assemble -Dbuild.snapshot=false
151151
- name: Configure AWS credentials
152-
uses: aws-actions/configure-aws-credentials@v6
152+
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6
153153
with:
154154
role-to-assume: ${{ secrets.UPLOAD_ARCHIVE_ARTIFACT_ROLE }}
155155
role-session-name: publish-to-s3
@@ -159,7 +159,7 @@ jobs:
159159
aws s3 cp distribution/archives/linux-tar/build/distributions/opensearch-min-$OPENSEARCH_VERSION-linux-x64.tar.gz s3://${{ secrets.ARCHIVE_ARTIFACT_BUCKET_NAME }}/PR-$PR_NUMBER/
160160
echo "DISTRIBUTION_URL=${{ secrets.ARTIFACT_BUCKET_CLOUDFRONT_URL }}/PR-$PR_NUMBER/opensearch-min-$OPENSEARCH_VERSION-linux-x64.tar.gz" >> $GITHUB_ENV
161161
- name: Checkout opensearch-build repo
162-
uses: actions/checkout@v6
162+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
163163
with:
164164
repository: opensearch-project/opensearch-build
165165
ref: main
@@ -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@v8
172+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
173173
with:
174174
github-token: ${{ secrets.GITHUB_TOKEN }}
175175
script: |

.github/workflows/calcite-snapshots.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,22 @@ jobs:
3333

3434
steps:
3535
- name: Checkout Calcite ref:${{ github.event.inputs.ref }}
36-
uses: actions/checkout@v6
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3737
with:
3838
repository: 'apache/calcite'
3939
ref: ${{ github.event.inputs.ref }}
4040
persist-credentials: false
4141

4242
- name: Checkout OpenSearch main
43-
uses: actions/checkout@v6
43+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4444
with:
4545
repository: 'opensearch-project/OpenSearch'
4646
ref: 'main'
4747
persist-credentials: false
4848
path: 'os_main'
4949

5050
- name: Setup JDK ${{ github.event.inputs.java_version }}
51-
uses: actions/setup-java@v5
51+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
5252
with:
5353
java-version: ${{ github.event.inputs.java_version }}
5454
distribution: 'temurin'
@@ -63,7 +63,7 @@ jobs:
6363
./gradlew :core:publishToMavenLocal :linq4j:publishToMavenLocal -Prelease -PskipSign -PskipJavadoc -x test --no-daemon
6464
6565
- name: Configure AWS credentials
66-
uses: aws-actions/configure-aws-credentials@v6
66+
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6
6767
with:
6868
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_SECRET_ROLE }}
6969
aws-region: us-east-1
@@ -76,7 +76,7 @@ jobs:
7676
echo "LUCENE_SNAPSHOTS_BUCKET=$lucene_snapshots_bucket" >> $GITHUB_OUTPUT
7777
7878
- name: Configure AWS credentials
79-
uses: aws-actions/configure-aws-credentials@v6
79+
uses: aws-actions/configure-aws-credentials@d979d5b3a71173a29b74b5b88418bfda9437d885 # v6
8080
with:
8181
role-to-assume: ${{ secrets.LUCENE_SNAPSHOTS_S3_ROLE }}
8282
aws-region: us-east-1

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535

3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v6
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3939
- name: Set up JDK 21
40-
uses: actions/setup-java@v5
40+
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
4141
with:
4242
java-version: 21
4343
distribution: temurin
4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v4
46+
uses: github/codeql-action/init@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4
4747
with:
4848
languages: ${{ matrix.language }}
4949
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -52,12 +52,12 @@ jobs:
5252
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

5454
- name: Set up protoc
55-
uses: arduino/setup-protoc@v3
55+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3
5656

5757
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5858
# If this step fails, then you should remove it and run the build manually (see below)
5959
- name: Autobuild
60-
uses: github/codeql-action/autobuild@v4
60+
uses: github/codeql-action/autobuild@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4
6161

6262
# ℹ️ Command-line programs to run using the OS shell.
6363
# 📚 https://git.io/JvXDl
@@ -71,4 +71,4 @@ jobs:
7171
# make release
7272

7373
- name: Perform CodeQL Analysis
74-
uses: github/codeql-action/analyze@v4
74+
uses: github/codeql-action/analyze@7211b7c8077ea37d8641b6271f6a365a22a5fbfa # v4

.github/workflows/copy-linked-issue-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414
steps:
1515
- name: copy-issue-labels
16-
uses: michalvankodev/copy-issue-labels@v1.3.0
16+
uses: michalvankodev/copy-issue-labels@f54e957e58fc976eba5ffa36e1a1030572dbb78d # v1.3.0
1717
with:
1818
repo-token: ${{ secrets.GITHUB_TOKEN }}
1919
labels-to-exclude: |

.github/workflows/create-documentation-issue.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414
steps:
1515
- name: GitHub App token
1616
id: github_app_token
17-
uses: tibdex/github-app-token@v2.1.0
17+
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
1818
with:
1919
app_id: ${{ secrets.APP_ID }}
2020
private_key: ${{ secrets.APP_PRIVATE_KEY }}
2121
installation_id: 22958780
2222

2323
- name: Checkout code
24-
uses: actions/checkout@v6
24+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2525

2626
- name: Edit the issue template
2727
run: |
2828
echo "https://github.com/opensearch-project/OpenSearch/pull/${{ env.PR_NUMBER }}." >> ./ci/documentation/issue.md
2929
3030
- name: Create Issue From File
3131
id: create-issue
32-
uses: peter-evans/create-issue-from-file@v6
32+
uses: peter-evans/create-issue-from-file@fca9117c27cdc29c6c4db3b86c48e4115a786710 # v6
3333
with:
3434
title: Add documentation related to new feature
3535
content-filepath: ./ci/documentation/issue.md

.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@v8
15+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
1616
with:
1717
script: |
1818
github.rest.git.deleteRef({

0 commit comments

Comments
 (0)