[#26918] YSQL: Stop index backfill when the CREATE INDEX session is terminated #13
Workflow file for this run
This file contains hidden or 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: "yb-gh" | |
| on: | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| paths: | |
| - 'src/**/*.proto' | |
| jobs: | |
| pr-upgrade: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check PR upgrade info | |
| run: | | |
| body="${{ github.event.pull_request.body }}" | |
| UPG_RE='upgrade.*(downgrade|rollback)\ssafety' | |
| # downcase the body for regex matching | |
| if [[ ! "${body,,}" =~ $UPG_RE ]]; then | |
| echo "::error ::PR description must include upgrade/rollback safety information" | |
| echo "::error ::for any changes to .proto files." | |
| echo "::error ::This should include whether the change is safe for rollback" | |
| echo "::error ::and any special procedures needed." | |
| echo "::error ::Example: Upgrade/Downgrade Safety: ..." | |
| exit 1 | |
| fi |