Skip to content

Commit

Permalink
Revert "Fix automated commit identity"
Browse files Browse the repository at this point in the history
This reverts commit 9c3bca9.

Just a GitHub hiccup apparently, should work again now
  • Loading branch information
infinisil committed Sep 17, 2024
1 parent 742eeee commit c4a6007
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/voter-team.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ jobs:
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- 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:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
- run: |
# https://github.com/actions/create-github-app-token/issues/172
git config --global user.name 'nix-elections[bot]'
git config --global user.email '181651500+nix-elections[bot]@users.noreply.github.com'
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>'
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit c4a6007

Please sign in to comment.