fix: use correct fork/version of picasso, removed unused workflow inp… #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: Pre-commit | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Fetch all history for pre-commit hooks | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Set up OpenTofu | |
| uses: opentofu/setup-opentofu@v1 | |
| with: | |
| tofu_version: latest | |
| - name: Install pre-commit | |
| run: | | |
| pip install pre-commit | |
| - uses: wagoid/commitlint-github-action@v6 | |
| with: | |
| failOnWarnings: true # Strict mode | |
| configFile: .github/.commitlintrc.mjs | |
| - name: Run pre-commit | |
| env: | |
| PCT_TFPATH: tofu | |
| run: | | |
| pre-commit run --all-files |