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

github.com/nextcloud/3rdparty.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:43:44 +0300
committerGitHub <noreply@github.com>2022-01-19 19:43:44 +0300
commit94059962ef35f4844d597ad2e9b486a414d1be1d (patch)
treee1948bf5dfcea76f31e6078c0752560371f50797
parent747d4ceb41b707622a960d79ac2694b2919b7c2e (diff)
parentcb2c318a35962c5401dd1c1c3fff9dd75a0278f4 (diff)
Merge pull request #971 from nextcloud/backport/970/stable23v23.0.3rc2v23.0.3rc1v23.0.3v23.0.2rc1v23.0.2v23.0.1rc3v23.0.1
-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 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'