diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-01-19 19:09:04 +0300 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2022-01-19 19:51:28 +0300 |
commit | 21104d34e6e362a09744059faf253453e167c631 (patch) | |
tree | 3c25ffe882819583686311f777d0e0751a5c36c3 | |
parent | 10ce4c2d30aa1bef35d4614e79951b6cd35aabb5 (diff) |
Create block-merge-freeze.yml
-rw-r--r-- | .github/workflows/block-merge-freeze.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/block-merge-freeze.yml b/.github/workflows/block-merge-freeze.yml new file mode 100644 index 000000000..e56884ccc --- /dev/null +++ b/.github/workflows/block-merge-freeze.yml @@ -0,0 +1,21 @@ +# This workflow is provided via the organization template repository +# +# https://github.com/nextcloud/.github +# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization + +name: Pull request checks + +on: pull_request + +jobs: + block-merges-during-freeze: + name: Block merges during freezes + + runs-on: ubuntu-latest + + steps: + - name: Download version.php from ${{ github.base_ref }} + run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php + + - name: Run check + run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC' |