Skip to content

Commit

Permalink
git-artifacts: correct the packager information of the Pacman packages
Browse files Browse the repository at this point in the history
We currently use a bogus `PACKAGER` information that is derived from the
`${{ github.actor }}`, which is the GitForWindowsHelper GitHub App.
Since we're already using my personal GPG key to sign those packages,
might just as well use my name as the packager, too.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Jan 9, 2025
1 parent dee3b73 commit e3df72f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/git-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ jobs:
echo '${{secrets.PRIVGPGKEY}}' | tr % '\n' | gpg $GPG_OPTIONS --import &&
info="$(gpg --list-keys --with-colons "${GPGKEY%% *}" | cut -d : -f 1,10 | sed -n '/^uid/{s|uid:||p;q}')" &&
git config --global user.name "${info% <*}" &&
git config --global user.email "<${info#*<}"
git config --global user.email "<${info#*<}" &&
echo "PACKAGER=$info" >>$GITHUB_ENV
env:
GPGKEY: ${{secrets.GPGKEY}}
- name: update check-run
Expand Down

0 comments on commit e3df72f

Please sign in to comment.