diff --git a/.github/workflows/test-template.yml b/.github/workflows/test-template.yml index 2cb4892..ed36c10 100644 --- a/.github/workflows/test-template.yml +++ b/.github/workflows/test-template.yml @@ -22,7 +22,7 @@ jobs: - name: Install the latest version of uv uses: astral-sh/setup-uv@v7 # use prek for speedy precommit results - - uses: j178/prek-action@v1 + - uses: j178/prek-action@v2 # run pre-commit ci lite for automated fixes - uses: pre-commit-ci/lite-action@v1.1.0 if: ${{ !cancelled() }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f309b5a..6785802 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-yaml - id: detect-private-key - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.19.0" + rev: "v2.21.0" hooks: - id: pyproject-fmt - repo: https://github.com/citation-file-format/cffconvert @@ -39,12 +39,12 @@ repos: - id: yamllint exclude: pre-commit-config.yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.6" + rev: "v0.15.8" hooks: - id: ruff-format - id: ruff-check - repo: https://github.com/rhysd/actionlint - rev: v1.7.11 + rev: v1.7.12 hooks: - id: actionlint - repo: https://gitlab.com/vojko.pribudic.foss/pre-commit-update @@ -53,7 +53,7 @@ repos: - id: pre-commit-update args: ["--keep", "mdformat", "--keep", "pre-commit-update", "--keep", "cffconvert"] - repo: https://github.com/jendrikseipp/vulture - rev: 'v2.15' + rev: 'v2.16' hooks: - id: vulture - repo: https://github.com/aristanetworks/j2lint diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..f0a98cf --- /dev/null +++ b/renovate.json @@ -0,0 +1,23 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "schedule": ["* * 1 * *"], + "enabledManagers": ["custom.regex"], + "customManagers": [ + { + "customType": "regex", + "managerFilePatterns": [ + "/^\\.github\\/workflows\\/.+\\.yml\\.jinja$/" + ], + "matchStrings": [ + "uses:\\s+(?[^@\\s]+)@(?[^\\s]+)" + ], + "datasourceTemplate": "github-tags" + } + ], + "packageRules": [ + { + "matchManagers": ["custom.regex"], + "groupName": "github actions" + } + ] +}