We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Once the repo is unlocked, any attempt to commit from the GH Action will result in an error:
"git-crypt" clean: 1: git-crypt: not found error: external filter '"git-crypt" clean' failed 127 error: external filter '"git-crypt" clean' failed
The text was updated successfully, but these errors were encountered:
My current workaround is to manually install git-crypt and set the $GITHUB_PATH:
name: Deploy on: workflow_dispatch: jobs: deploy: runs-on: ubuntu-latest steps: # ... - name: Install git-crypt run: | git clone https://github.com/AGWA/git-crypt.git cd git-crypt && make && make install PREFIX=/opt/project echo "/opt/project/bin" >> $GITHUB_PATH - name: Unlock git-crypt run: | echo ${{ secrets.GIT_CRYPT_KEY }} | base64 -d > ./git-crypt-key git-crypt unlock ./git-crypt-key rm ./git-crypt-key - name: Login with built-in token to enable commiting run: | git config user.name github-actions git config user.email [email protected] # ...
Sorry, something went wrong.
Same issue, I believe it is because the git-crypt folder inside .git ends up being owned by root, not the user the worker is running in.
No branches or pull requests
Once the repo is unlocked, any attempt to commit from the GH Action will result in an error:
The text was updated successfully, but these errors were encountered: