Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions workflow-templates/block-merge-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,14 @@ name: Pull request checks
on: pull_request

jobs:
block-merge-during-freeze:
name: Block merge during freezes
block-merges-during-freeze:
name: Block merges during feature freezes

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Download version.php of $GITHUB_BASE_REF
run: curl https://raw.githubusercontent.com/nextcloud/server/$GITHUB_BASE_REF/version.php
- 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'