Skip to content

Commit d727049

Browse files
Fixes random password generator to generate strong value
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent 6e9516d commit d727049

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/plugin_install.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,12 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19-
- id: random-password
20-
uses: peternied/random-name@v1
19+
- uses: actions/checkout@v4
20+
- id: generated-password
21+
- name: Random Password Generator
22+
uses: aammirmirza/RandomPasswordGenerator@1.2
23+
with:
24+
length: 15
2125

2226
- name: Set up JDK
2327
uses: actions/setup-java@v4
@@ -45,7 +49,7 @@ jobs:
4549
opensearch-version: ${{ env.OPENSEARCH_VERSION }}
4650
plugins: "file:$(pwd)/${{ env.PLUGIN_NAME }}.zip"
4751
security-enabled: true
48-
admin-password: ${{ steps.random-password.outputs.generated_name }}
52+
admin-password: ${{ steps.generated-password.outputs.password }}
4953
jdk-version: 21
5054

5155
- name: Run sanity tests

0 commit comments

Comments
 (0)