diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index a2f40fe..46a2225 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -35,16 +35,16 @@ jobs: with: token: ${{ steps.app-token.outputs.token }} persist-credentials: false - - name: Get GitHub App User ID - id: get-user-id - run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" - env: - GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} + # - name: Get GitHub App User ID + # id: get-user-id + # run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" + # env: + # GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} - name: Setup GIT run: | git config --system --add safe.directory "*" git config --global user.name '${{ steps.app-token.outputs.app-slug }}[bot]' - git config --global user.email '${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com' + git config --global user.email '${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com' git remote set-url origin https://x-access-token:${{ env.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} @@ -54,4 +54,4 @@ jobs: env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} BASE_BRANCH: ${{ inputs.base_branch }} - REPO_PATH: ${{ github.repository }} \ No newline at end of file + REPO_PATH: ${{ github.repository }}