From 3aeea569f78bbafd694936df6a1857a21e1fea73 Mon Sep 17 00:00:00 2001 From: Kent Huang Date: Wed, 3 Jul 2024 10:44:07 +0800 Subject: [PATCH] [Update] DRC-521 Add Cloud State password Signed-off-by: Kent Huang --- .github/workflows/recce-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/recce-ci.yml b/.github/workflows/recce-ci.yml index b800b326f..89205104f 100644 --- a/.github/workflows/recce-ci.yml +++ b/.github/workflows/recce-ci.yml @@ -68,6 +68,8 @@ jobs: - name: Run Recce CI run: poetry run recce run --cloud --cloud-token ${{ secrets.RECCE_CLOUD_TOKEN }} + env: + RECCE_STATE_PASSWORD: ${{ vars.RECCE_STATE_PASSWORD }} - name: Prepare Recce Summary id: recce-summary @@ -87,6 +89,7 @@ jobs: env: ARTIFACT_URL: ${{ steps.recce-artifact-uploader.outputs.artifact-url }} + RECCE_STATE_PASSWORD: ${{ vars.RECCE_STATE_PASSWORD }} NEXT_STEP_MESSAGE: | ## Next Steps If you want to check more detail information about the recce result, please follow this instruction @@ -96,7 +99,7 @@ jobs: git checkout ${{ github.event.pull_request.head.ref }} # Launch the recce server based on the state file - recce server --review --cloud + recce server --review --cloud --password ${{ vars.RECCE_STATE_PASSWORD }} # Open the recce server http://localhost:8000 by your browser ```