diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 13:04:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 13:04:33 +0300 |
commit | f5dd452d5f76d4460b86e7eed1e41f87e80cfc64 (patch) | |
tree | e27d72d38776dd86cba7e5c89cf47f23257d8622 | |
parent | 84df632d622b16701e0bb0508daea2f7d6240fba (diff) | |
parent | 32c0710aa7990c042a50d17d6bd226eb3433e26a (diff) |
Merge pull request #30753 from nextcloud/backport/30738/stable23
-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' |