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