From 1a1c31d4a95fa1c797584a5507e5f5e43116ed5d Mon Sep 17 00:00:00 2001 From: vlad Date: Mon, 17 Oct 2022 13:53:36 +0300 Subject: [PATCH] fix: Fix test module workflow --- .github/workflows/api-test-module-workflow.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/api-test-module-workflow.yml b/.github/workflows/api-test-module-workflow.yml index 39567dc..a11e342 100644 --- a/.github/workflows/api-test-module-workflow.yml +++ b/.github/workflows/api-test-module-workflow.yml @@ -7,6 +7,11 @@ on: description: "Using for choice specified module when test application." required: true type: string + secrets: + SECRET_GITHUB_TOKEN: + required: true + SECRET_GITHUB_USERNAME: + required: true jobs: api-test-module-workflow: @@ -22,4 +27,7 @@ jobs: run: chmod +x gradlew - name: Test application with Gradle - run: ./gradlew test -p ${{ inputs.MODULE_NAME }} \ No newline at end of file + run: ./gradlew test -p ${{ inputs.MODULE_NAME }} + env: + GITHUB_USERNAME: ${{ secrets.SECRET_GITHUB_USERNAME }} + GITHUB_TOKEN: ${{ secrets.SECRET_GITHUB_TOKEN }} \ No newline at end of file