Skip to content

Commit

Permalink
ci: Skip version check for Dependabot
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jesse-c committed Jul 22, 2024
1 parent 0ef77ee commit 69aba99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cpr_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_MAJOR = "1"
_MINOR = "1"
_PATCH = "6"
_PATCH = "7"
_SUFFIX = ""

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
Expand Down

0 comments on commit 69aba99

Please sign in to comment.