diff --git a/.all-contributorsrc b/.all-contributorsrc index c0e6d22c..d25654c9 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -246,6 +246,15 @@ "ideas", "code" ] + }, + { + "login": "jnig", + "name": "Jakob", + "avatar_url": "https://avatars.githubusercontent.com/u/3729585?v=4", + "profile": "https://github.com/Jnig", + "contributions": [ + "review" + ] } ], "contributorsPerLine": 7, diff --git a/README.md b/README.md index b9ee7f6f..de53d093 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # actions-template-sync -[![All Contributors](https://img.shields.io/badge/all_contributors-24-orange.svg?style=flat-square)](#contributors-) +[![All Contributors](https://img.shields.io/badge/all_contributors-25-orange.svg?style=flat-square)](#contributors-) [![actions-template-sync](https://github.com/AndreasAugustin/actions-template-sync/actions/workflows/actions_template_sync.yml/badge.svg)](https://github.com/AndreasAugustin/actions-template-sync/actions/workflows/actions_template_sync.yml) @@ -316,7 +316,8 @@ gpg --armor --export-secret-key jon@doe.example | 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. If your key has a password, create another secret named `GPG_PASSPHRASE`. +Paste your clipboard as a [secret][github-create-secret] named `GPG_PRIVATE_KEY` for example. +If your key has a password, create another secret named `GPG_PASSPHRASE`. ```yaml # File: .github/workflows/template-sync.yml @@ -556,6 +557,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d jellllly420
jellllly420

🤔 💬 📖 Shaun Tabone
Shaun Tabone

💻 Kevin AUDE
Kevin AUDE

🤔 💻 + Jakob
Jakob

👀 diff --git a/src/gpg_no_tty.sh b/src/gpg_no_tty.sh index 8cdddaca..725d5364 100644 --- a/src/gpg_no_tty.sh +++ b/src/gpg_no_tty.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash if [[ -n "${GPG_PASSPHRASE}" ]] &>/dev/null; then + # FIXME(anau) the next line is a bug echo -e "${GPG_PASSPHRASE}" | gpg --pinentry-mode loopback --batch --yes --passphrase-fd 0 "$@" <&0 else gpg --pinentry-mode loopback --yes --batch "$@" <&0