diff --git a/.github/workflows/pdm-lock-automation.yaml b/.github/workflows/pdm-lock-automation.yaml index 7312cd1f2..71e0535b5 100644 --- a/.github/workflows/pdm-lock-automation.yaml +++ b/.github/workflows/pdm-lock-automation.yaml @@ -42,6 +42,12 @@ jobs: with: python-version: '3.9' + - name: Set up Go + if: steps.set_output.outputs.changed == 'true' + uses: actions/setup-go@v4 + with: + go-version: '1.22.5' + - name: Install PDM if: steps.set_output.outputs.changed == 'true' run: python -m pip install pdm diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f50086765..3a8eddfa7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -95,10 +95,10 @@ repos: entry: pyupgrade --py39-plus --keep-runtime-typing types: - python - # - repo: https://github.com/gitleaks/gitleaks - # rev: v8.18.4 - # hooks: - # - id: gitleaks + - repo: https://github.com/gitleaks/gitleaks + rev: v8.18.4 + hooks: + - id: gitleaks # - repo: https://github.com/hadolint/hadolint # rev: v2.12.1-beta # hooks: