For the moment this action only takes care of importing the GPG key. In order to be able to use it, the commit.gpgsign config must also be enabled for the repo and the user's key ID must be inserted:
git config user.signingkey '<KEYID>'
git config commit.gpgsign true