From eac39879754fef0844b120c7d6f34a81c1eb6678 Mon Sep 17 00:00:00 2001 From: Krishnadhas N K <108367225+githubofkrishnadhas@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:47:55 +0530 Subject: [PATCH] Update terraform-modules-auth-test.yaml --- .../workflows/terraform-modules-auth-test.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/terraform-modules-auth-test.yaml b/.github/workflows/terraform-modules-auth-test.yaml index 4a2b923..c9a10e0 100644 --- a/.github/workflows/terraform-modules-auth-test.yaml +++ b/.github/workflows/terraform-modules-auth-test.yaml @@ -42,16 +42,16 @@ jobs: repositories: 'azure-terraform-modules' - name: Print the token run: echo "Generated token ${{ steps.app-token.outputs.token }}" - # - name: Token generator current repo - # uses: githubofkrishnadhas/github-access-using-githubapp@bugfix/owner - #id: app-token1 - #with: - # github_app_id: ${{ secrets.TOKEN_GENERATOR_APPID }} - # github_app_private_key: ${{ secrets.TOKEN_GENERATOR_PRIVATE_KEY }} + - name: Token generator current repo + uses: githubofkrishnadhas/github-access-using-githubapp@bugfix/owner + id: app-token1 + with: + github_app_id: ${{ secrets.TOKEN_GENERATOR_APPID }} + github_app_private_key: ${{ secrets.TOKEN_GENERATOR_PRIVATE_KEY }} - - name: echo token - run: echo ${GH_APP_TOKEN} > txt.txt + - name: Print the token1 + run: echo "Generated token ${{ steps.app-token1.outputs.token }}" # - name: clone manually # uses: actions/checkout@v4