documentation: updates for git-crypt and agent paths (#82) #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check Encryption | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| jobs: | |
| check-encryption: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install git-crypt | |
| run: sudo apt-get install -y git-crypt | |
| - name: Ensure tests_private files are encrypted | |
| run: | | |
| unencrypted=$(git crypt status | grep tests_private | grep "^not" || true) | |
| if [ -n "$unencrypted" ]; then | |
| echo "::error::Unencrypted tests_private files detected:" | |
| echo "$unencrypted" | |
| exit 1 | |
| fi |