feat: Ensures asymmetric auto-scaling is not defined in the cluster when using the old sharding configuration in mongodbatlas_advanced_cluster
#4076
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check migration guide | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, edited] | |
jobs: | |
check: | |
if: ${{ contains(github.event.pull_request.title, '!') }} | |
runs-on: ubuntu-latest | |
permissions: {} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 | |
id: changes | |
with: | |
filters: | | |
guides: | |
- 'docs/guides/**' | |
- if: ${{ steps.changes.outputs.guides == 'false' }} | |
run: echo "PR with breaking changes but no migration guide was created or updated" && exit 1 |