File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,14 +23,21 @@ jobs:
2323 with :
2424 app-id : ${{ secrets.UV_LOCK_UPGRADER_APP_ID }}
2525 private-key : ${{ secrets.UV_LOCK_UPGRADER_APP_PRIVATE_KEY }}
26+ - name : Get GitHub App User ID
27+ id : get-user-id
28+ run : echo "user-id=$(gh api "/users/${{ steps.app-token.outputs.app-slug }}[bot]" --jq .id)" >> "$GITHUB_OUTPUT"
29+ env :
30+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
2631 - uses : actions/checkout@v4
2732 - uses : astral-sh/setup-uv@v6
2833 - run : uv lock --upgrade
2934 - uses : peter-evans/create-pull-request@v7
35+ env :
36+ AUTHOR : " ${{ steps.app-token.outputs.app-slug }}[bot] <${{ steps.get-user-id.outputs.user-id }}+${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com>"
3037 with :
3138 token : ${{ steps.app-token.outputs.token }}
32- author : " uv-lock-upgrader[bot] <uv-lock-upgrader[bot]@users.noreply.github.com> "
33- committer : " uv-lock-upgrader[bot] <uv-lock-upgrader[bot]@users.noreply.github.com> "
39+ author : ${{ env.AUTHOR }}
40+ committer : ${{ env.AUTHOR }}
3441 commit-message : " chore: upgrade uv.lock"
3542 title : " chore: upgrade uv.lock"
3643 body : This PR updates the uv.lock file with the latest dependency versions.
You can’t perform that action at this time.
0 commit comments