AGWA / AGWA/git-crypt

how to unlock git crypt in github actions workflow?

Đang mở
#288 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
9.9k
Fork
544
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

[https://github.com/ninetynin/temp-test-repo/actions/runs/4774573308/jobs/8488344079](url)
```
Run git-crypt unlock
git-crypt: Error: Unable to open key file - have you unlocked/initialized this repository yet?
error: external filter '"git-crypt" clean' failed [1](https://github.com/ninetynin/temp-test-repo/actions/runs/4774573308/jobs/8488344079#step:10:1)
error: external filter '"git-crypt" clean' failed
fatal: session.json: clean filter 'git-crypt' failed
git-crypt: Error: 'git status' failed - is this a Git repository?
Error: Process completed with exit code 1.
```
this is a sample github action how to support git-crypt unlock here
because 1. if i use `git-crypt add-gpg-user` im getting this err
```
git-crypt add-gpg-user action@git
hub.com
gpg: error reading key: No public key
Error: public key for 'action@github.com' not found in your GPG keyring
```
2. even if i have a symmetric key i still cant upload it on github so i cant use the path to unlock...

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.