This action detach-signs files in a path using GPG (GNU Privacy Guard) in a filesystem path.
As a result you'll get .asc
signatures in your path for every file.
Required The private asymmetric GPG key to sign the files with. Typically has the form
-----BEGIN PGP PRIVATE KEY BLOCK-----
...
-----END PGP PRIVATE KEY BLOCK-----
This key should be stored in a secret variable.
Required The passphrase to unlock the gpg-key
.
This key should be stored in a secret variable.
Required The filesystem path where to gpg-sign the files. Note that this path must be in your github working directory.
uses: sfuhrm/gpg-sign-action@main
with:
path: my-file-path
gpg-key: "${{ secrets.GPG_KEYFILE }}"
gpg-passphrase: "${{ secrets.GPG_PASSPHRASE }}"