workflow "Test git-crypt" {
on = "push"
resolves = ["Unlock secrets"]
}
action "Unlock secrets" {
uses="sliteteam/github-action-git-crypt-unlock@master"
secrets=["GIT_CRYPT_KEY"]
}
GIT_CRYPT_KEYRequired Base64 encoded git-crypt key file.- Get it from an unlocked git-crypt env with:
git-crypt export-key ./tmp-key && cat ./tmp-key | base64 | pbcopy && rm ./tmp-key
- Get it from an unlocked git-crypt env with:
There are few dependencies
- git-crypt
- docker
- node (for npm script convenience and gha dependency)
npm install
npm test