From 24ce97898f713f92ae83a47b75b47e045077adc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 14 Oct 2026 15:30:11 -0600 Subject: [PATCH 1/2] ci: Replace Dependabot with Renovate --- .github/dependabot.yml | 14 -------------- .github/renovate.json | 6 ++++++ 2 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 1f9734b..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,14 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file - -version: 2 -updates: - - package-ecosystem: "uv" - directory: "/" - schedule: - interval: "weekly" - versioning-strategy: increase-if-necessary - cooldown: - default-days: 7 diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 0000000..318371b --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "meltano/.github//renovate/base.json" + ] +} From c8bec481413436ffede003c7ccb9be21b5b15e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= Date: Wed, 14 Oct 2026 15:30:11 -0600 Subject: [PATCH 2/2] ci: Skip tests on unrelated changes and add a required-checks gate job --- .github/workflows/test.yml | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8eaa5b9..e30dca2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,8 +17,33 @@ env: FORCE_COLOR: "1" jobs: + files-changed: + name: Detect file changes + runs-on: ubuntu-latest + permissions: + contents: read + outputs: + runtime: ${{ steps.changes.outputs.runtime }} + steps: + - name: Check out the repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 + id: changes + with: + filters: | + runtime: + - cz_version_bump/** + - tests/** + - pyproject.toml + - uv.lock + - .github/workflows/test.yml + build-package: name: Build & verify package + needs: files-changed + if: ${{ needs.files-changed.outputs.runtime == 'true' }} runs-on: ubuntu-latest outputs: supported-python-versions: ${{ steps.baipp.outputs.supported_python_classifiers_json_array }} @@ -55,6 +80,8 @@ jobs: types: name: Static Analysis + needs: files-changed + if: ${{ needs.files-changed.outputs.runtime == 'true' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -73,3 +100,20 @@ jobs: - name: Check types with ty run: | uv run ty check + + ci: + name: CI required checks + if: always() + needs: + - files-changed + - build-package + - pytest + - types + runs-on: ubuntu-latest + permissions: {} + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@b5b5b37504aa4183270bd3d855c52a67f212be35 # v1.3.0 + with: + jobs: ${{ toJSON(needs) }} + allowed-skips: build-package,pytest,types