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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-20 12:30:19 +0300
committerGitHub <noreply@github.com>2022-01-20 12:30:19 +0300
commit5bf3be9acb37a28f2e874b48a89e0367876718e4 (patch)
treecac79ee813d5af9b8e70deb82b593f6ad5684bec
parent764b3e0f30bf8876ef394c0df233c96a75fc12dd (diff)
parent4a97fc5bf131fe41f71876633fa25c425e5cd0bc (diff)
Merge pull request #2116 from nextcloud/backport/2114/stable22
[stable22] Create block-merge-freeze.yml
-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 000000000..e56884ccc
--- /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'