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

github.com/nextcloud/password_policy.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 19:44:23 +0300
committerGitHub <noreply@github.com>2022-01-19 19:44:23 +0300
commitad76a8f1d77bea2ea6ac6d0ea7ebf84a58169794 (patch)
treec4e591ff562abe45d4288874787e874f90d24c06
parentc3af711b401b6402fe650b3489181353fa31e501 (diff)
parent86ee1bf8656270709a4974342908b30c89333803 (diff)
Merge pull request #317 from nextcloud/backport/314/stable21v21.0.9rc1v21.0.9v21.0.8rc3v21.0.8
-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 0000000..e56884c
--- /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'