There was an error while loading. Please reload this page.
2 parents eb3cf6c + a41d27d commit 58798b8Copy full SHA for 58798b8
1 file changed
.github/workflows/block-merge-freeze.yml
@@ -0,0 +1,21 @@
1
+# This workflow is provided via the organization template repository
2
+#
3
+# https://github.com/nextcloud/.github
4
+# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5
+
6
+name: Pull request checks
7
8
+on: pull_request
9
10
+jobs:
11
+ block-merges-during-freeze:
12
+ name: Block merges during feature freezes
13
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Download version.php from ${{ github.base_ref }}
18
+ run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php
19
20
+ - name: Run check
21
+ run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
0 commit comments