I have a GitHub Actions workflow that automatically creates PRs for an access review. The commits are made by:
- name: Configure Git
run: |
git config user.name "ur-access-bot"
git config user.email "[email protected]"
which is set in one of the steps.
But my org forces all commits to be signed and I don't know how to sign it with GPG in this case. So far I cannot see that this is possible, but that I should rather use a GitHub App since then commits made by apps don't have to be explicitly signed.
If it's possible to sign the commit in a similar way to when a normal user does it, I would rather do that. Is it possible?