From 9927a18b9aa1dd4547948740679bbe2a7476677a Mon Sep 17 00:00:00 2001 From: Gabriel Adrian Samfira Date: Wed, 2 Aug 2023 17:34:00 +0300 Subject: [PATCH] Update ngrok action Signed-off-by: Gabriel Adrian Samfira --- .github/workflows/integration-tests.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 835a4e1c..a7283c9b 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -36,13 +36,22 @@ jobs: function randomStringGenerator() { tr -dc "a-zA-Z0-9@#$%^&*()_+?><~\`;'" > $GITHUB_ENV - echo "REPO_WEBHOOK_SECRET=$(randomStringGenerator)" >> $GITHUB_ENV - echo "ORG_WEBHOOK_SECRET=$(randomStringGenerator)" >> $GITHUB_ENV + + GARM_PASSWORD=$(randomStringGenerator) + REPO_WEBHOOK_SECRET=$(randomStringGenerator) + ORG_WEBHOOK_SECRET=$(randomStringGenerator) + + echo "::add-mask::$GARM_PASSWORD" + echo "::add-mask::$REPO_WEBHOOK_SECRET" + echo "::add-mask::$ORG_WEBHOOK_SECRET" + + echo "GARM_PASSWORD=$GARM_PASSWORD" >> $GITHUB_ENV + echo "REPO_WEBHOOK_SECRET=$REPO_WEBHOOK_SECRET" >> $GITHUB_ENV + echo "ORG_WEBHOOK_SECRET=$ORG_WEBHOOK_SECRET" >> $GITHUB_ENV - name: Set up ngrok id: ngrok - uses: gabriel-samfira/ngrok-tunnel-action@867169320326b49398c565de3b3f0ee75fb1599a + uses: gabriel-samfira/ngrok-tunnel-action@v1.1 with: ngrok_authtoken: ${{ secrets.NGROK_AUTH_TOKEN }} port: 9997