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

github.com/nextcloud/photos.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:07:50 +0300
committerGitHub <noreply@github.com>2022-01-19 13:07:50 +0300
commita4e9dcfc052d2865e7c4772b4e7f478705df7fe3 (patch)
treea09781a07b676b6fb9dc7fc197539412a37a833a
parentc20be94d9b24929677bf8a860d0a3956cab5d05d (diff)
parent64d568d4921beb6286eb3028e29b940041606e99 (diff)
Merge pull request #1001 from nextcloud/backport/998/stable20stable20
-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'