We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fde2611 + 6164c18 commit df6ba91Copy full SHA for df6ba91
.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 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