generated from AndreasAugustin/template
-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ gpg sign with passphrase (#460)
* feat: ✨ (#204) add gnupg to docker image * feat: ✨ (#204) add option to sign commits * fix: 🐛 (#204) issue with tty * fix: 🐛 (#204) fix issue with no tty * fix: 🐛 (#204) fix issue with no passphrase * fix: 🐛 (#204) trial * fix: 🐛 (#204) trial for fix * fix: 🐛 (#204) fix * fix: 🐛 (#204) trial * fix: 🐛 (#204) add pinentry mode loopback * fix: 🐛 (#204) * feat: ✨ (#204) add signoff and tig * fix: 🐛 (#204) fix commit * fix: 🐛 (#204) * fix: 🐛 (#204) trial * fix: 🐛 (#204) * fix: 🐛 trial for gpg sign * fix: 🚧 wip * fix: 🚧 WIP * fix: 🚧 WIP * fix: 🐛 * fix: 🐛
- Loading branch information
1 parent
34c494e
commit cec582e
Showing
4 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -254,6 +254,7 @@ jobs: | |
| git_user_email | `[optional]` set the committer git user.email | `false` | `[email protected].${SOURCE_REPO_HOSTNAME}` | | ||
| git_remote_pull_params | `[optional]` set remote pull parameters | `false` | `--allow-unrelated-histories --squash --strategy=recursive -X theirs` | | ||
| gpg_private_key | `[optional]` set if you want to sign commits | `false` | | | ||
| gpg_passphrase | `[optional]` set if your optionial gpg private key has a passphrase | `false` | | | ||
|
||
### Action Outputs | ||
|
||
|
@@ -332,7 +333,7 @@ gpg --armor --export-secret-key [email protected] | xclip | |
|
||
:warning: the gpg username and email must match the `git_user_name` and `git_user_email` parameters. | ||
Paste your clipboard as a [secret][github-create-secret] named `GPG_PRIVATE_KEY` for example. | ||
:warning: currently a pgp key with passphrase is not supported (yet). | ||
If your key has a password, create another secret named `GPG_PASSPHRASE`. | ||
|
||
```yaml | ||
# File: .github/workflows/template-sync.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters