Regenerate Codex char-compress adapter from canonical SKILL.md #347
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: hygiene | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| no-tracked-bytecode: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - name: Fail if Python bytecode is tracked | |
| run: | | |
| hits="$(git ls-files '*.pyc' '*.pyo' '**/__pycache__/*')" | |
| if [ -n "$hits" ]; then | |
| echo "::error::tracked Python bytecode found — add it to .gitignore and 'git rm -r --cached' it:" | |
| echo "$hits" | |
| exit 1 | |
| fi | |
| echo "OK: no tracked bytecode." |