Skip to content

Commit

Permalink
CLOUD-849 - Fix reviewdog for manifests on release branch (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
tplavcic authored Jun 4, 2024
1 parent e9ec5cf commit cd79133
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
- name: check on release branch
if: ${{ contains(github.head_ref, 'release-') || contains(github.base_ref, 'release-') }}
run: |
make generate manifests VERSION="$(grep "Version" version/version.go|grep -oE "[0-9]+\.[0-9]+\.[0-9]+")" IMAGE_TAG_BASE="percona/percona-server-mongodb-operator"
git diff --exit-code
- name: check on non release branches
if: ${{ ! (contains(github.head_ref, 'release-') || contains(github.base_ref, 'release-')) }}
run: |
make generate manifests VERSION=main
git diff --exit-code

0 comments on commit cd79133

Please sign in to comment.