Skip to content

fix: use correct fork/version of picasso, removed unused workflow inp… #18

fix: use correct fork/version of picasso, removed unused workflow inp…

fix: use correct fork/version of picasso, removed unused workflow inp… #18

Workflow file for this run

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