Commit adc608d
fix: add --batch flag to GPG command to prevent /dev/tty error (#69)
* fix: add --batch flag to GPG command to prevent /dev/tty error
The GPG command in the Linux installation step was attempting to access
/dev/tty in non-interactive GitHub Actions environments, causing failures
when the action was used multiple times in a workflow.
Adding the --batch flag tells GPG to run in non-interactive mode and
prevents it from trying to access /dev/tty.
Fixes #68
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* chore: add --yes and --no-tty flags for maximum compatibility
Per review feedback, adding --yes and --no-tty flags in addition to --batch
provides more defensive protection against any TTY access attempts by GPG:
- --batch: prevents interactive prompts
- --yes: auto-accepts any questions
- --no-tty: ensures GPG never uses TTY even for warnings
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 00e93fc commit adc608d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments