Skip to content

Commit ed3cec7

Browse files
committed
Pin start OpenSearch action dependencies
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
1 parent 5fdaf7f commit ed3cec7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/actions/start-opensearch/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ runs:
3838
shell: pwsh
3939

4040
- name: Set up JDK
41-
uses: actions/setup-java@v1
41+
uses: actions/setup-java@b6e674f4b717d7b0ae3baee0fbe79f498905dfde # v1
4242
with:
4343
java-version: 21
4444

@@ -49,14 +49,14 @@ runs:
4949

5050
# Download OpenSearch
5151
- name: Download OpenSearch for Windows
52-
uses: peternied/download-file@v2
52+
uses: peternied/download-file@6a5025a112bb8811a2eb5ee6dd3417acf6d928e4 # v2
5353
if: ${{ runner.os == 'Windows' }}
5454
with:
5555
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/latest/windows/x64/zip/dist/opensearch/opensearch-${{ inputs.opensearch-version }}-windows-x64.zip
5656

5757

5858
- name: Download OpenSearch for Linux
59-
uses: peternied/download-file@v2
59+
uses: peternied/download-file@6a5025a112bb8811a2eb5ee6dd3417acf6d928e4 # v2
6060
if: ${{ runner.os == 'Linux' }}
6161
with:
6262
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/latest/linux/x64/tar/dist/opensearch/opensearch-${{ inputs.opensearch-version }}-linux-x64.tar.gz
@@ -151,7 +151,7 @@ runs:
151151

152152
# Give the OpenSearch process some time to boot up before sending any requires, might need to increase the default time!
153153
- name: Sleep while OpenSearch starts
154-
uses: peternied/action-sleep@v1
154+
uses: peternied/action-sleep@7472dd1367f502fffd8b22251e44b0ac1a89ed80 # v1
155155
with:
156156
seconds: 30
157157

0 commit comments

Comments
 (0)