From 40572750a11e308042765936add45c877ea52409 Mon Sep 17 00:00:00 2001 From: Jesse Claven Date: Mon, 22 Jul 2024 15:45:26 +0100 Subject: [PATCH] ci: Skip version check for Dependabot This will always fail on Dependabot PRs, since it doesn't increment the version, and thus will always be equal to, or behind, the latest GitHub release. This means that we can merge Dependabot PRs in, and for them to be released, we'd need to do a release. --- .github/workflows/main.yml | 1 + src/cpr_sdk/version.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 13bcf52..db26e93 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,6 +26,7 @@ jobs: package-version-checks: runs-on: ubuntu-latest + if: github.actor != 'dependabot[bot]' steps: - name: Check out repository code uses: actions/checkout@v4 diff --git a/src/cpr_sdk/version.py b/src/cpr_sdk/version.py index c4b1f49..0255d12 100644 --- a/src/cpr_sdk/version.py +++ b/src/cpr_sdk/version.py @@ -1,6 +1,6 @@ _MAJOR = "1" _MINOR = "1" -_PATCH = "6" +_PATCH = "7" _SUFFIX = "" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)