diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..659788c2d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: Check merge requirements + +on: + pull_request: + +jobs: + + check-release-version: + timeout-minutes: 5 + steps: + - name: Checkout Repo + uses: actions/checkout@v3 + + 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