Skip to content

Sam/oriole17

Sam/oriole17 #1528

Workflow file for this run

name: Check merge requirements
on:
pull_request:
jobs:
check-release-version:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Run checks
# Update `ami-release.yaml` too if changing constraints.
run: |
SUFFIX=$(sed -E 's/postgres-version = "[0-9\.]+(.*)"/\1/g' common.vars.pkr.hcl)
if [[ -n $SUFFIX ]] ; then
echo "We no longer allow merging RC versions to develop."
exit 1
fi