From 41748f4de92bddf3c97c5da1819e1a9650b70953 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Sun, 19 Jul 2026 20:08:00 -0400 Subject: [PATCH 1/2] add output --- actions/github-app-auth/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/actions/github-app-auth/action.yml b/actions/github-app-auth/action.yml index 7a0f1b7..63987ea 100644 --- a/actions/github-app-auth/action.yml +++ b/actions/github-app-auth/action.yml @@ -7,6 +7,10 @@ inputs: private-key: description: Github App Private Key required: true +outputs: + token: + description: Github app auth token + value: ${{ steps.app-token.outputs.token }} runs: using: composite steps: From 597bf7ba74ebc4a329e72f3bf1c345e8a9f9e9c9 Mon Sep 17 00:00:00 2001 From: Les Aker Date: Sun, 19 Jul 2026 20:09:24 -0400 Subject: [PATCH 2/2] clean up! --- actions/github-app-auth/action.yml | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/actions/github-app-auth/action.yml b/actions/github-app-auth/action.yml index 63987ea..5aaf22b 100644 --- a/actions/github-app-auth/action.yml +++ b/actions/github-app-auth/action.yml @@ -21,17 +21,3 @@ runs: client-id: ${{ inputs.client-id }} private-key: ${{ inputs.private-key }} permission-contents: write - - name: Get GitHub App User ID - id: get-user-id - shell: bash - run: echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT" - env: - GH_TOKEN: ${{ steps.app-token.outputs.token }} - - name: Set Git environment - shell: bash - run: | - 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' - gh auth setup-git - env: - GH_TOKEN: ${{ steps.app-token.outputs.token }}