Skip to content

Commit df6ba91

Browse files
authored
Merge pull request #973 from nextcloud/backport/970/stable21
2 parents fde2611 + 6164c18 commit df6ba91

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)