Skip to content

fix(snapshot): allocated bytes for snapshot updated for thin provisioned replica #357

fix(snapshot): allocated bytes for snapshot updated for thin provisioned replica

fix(snapshot): allocated bytes for snapshot updated for thin provisioned replica #357

name: Submodule Branch Check
on:
pull_request:
types: ['opened', 'edited', 'reopened', 'synchronize']
push:
branches:
- develop
- 'release/**'
- staging
jobs:
submodule-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check root submodules branch
run: |
pr_branch="${{ github.event.pull_request.base.ref }}"
if [ -n "$pr_branch" ]; then
check_branch="$pr_branch"
else
check_branch="${{ github.ref_name }}"
fi
./scripts/set-submodule-branches.sh --branch "$check_branch"
cat .gitmodules
git diff --exit-code ".gitmodules"
- name: Check submodules HEAD points to branch
run: |
./scripts/check-submodule-branches.sh