diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-01-18 15:34:25 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-19 09:19:13 +0100 |
commit | a41d27d8d22053ff160fcf90d7945abeb3ecb327 (patch) | |
tree | 5524992505cfff7f0904aac08d06a719ece5b3e9 /.github | |
parent | 927e3b68e49933e1aa71a3d382df5fdb3c0e6f3f (diff) | |
download | nextcloud-server-a41d27d8d22053ff160fcf90d7945abeb3ecb327.tar.gz nextcloud-server-a41d27d8d22053ff160fcf90d7945abeb3ecb327.zip |
Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.github')
-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 00000000000..bfe58551d11 --- /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 feature 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' |