Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2022-01-19 13:04:33 +0300
committerGitHub <noreply@github.com>2022-01-19 13:04:33 +0300
commitf5dd452d5f76d4460b86e7eed1e41f87e80cfc64 (patch)
treee27d72d38776dd86cba7e5c89cf47f23257d8622
parent84df632d622b16701e0bb0508daea2f7d6240fba (diff)
parent32c0710aa7990c042a50d17d6bd226eb3433e26a (diff)
Merge pull request #30753 from nextcloud/backport/30738/stable23
-rw-r--r--.github/workflows/block-merge-freeze.yml21
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'