diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:35:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:35:52 +0300 |
commit | 41d5f9752c7e0f2b690480a38ef5b9dddc357166 (patch) | |
tree | 333175a7f1f43f4c532d5b7ef7d40e1f7f0328ce | |
parent | 4921806dfb1c5c309eac60195ed34e2749baf3c1 (diff) | |
parent | e01009af9f2ba4c2122555afd907a1486393d0d3 (diff) |
Merge pull request #970 from nextcloud/nickvergessen-patch-1v24.0.0beta2v24.0.0beta1
-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 00000000..e56884cc --- /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' |