diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:44:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:44:05 +0300 |
commit | 8adeebdb2c32019d91f3cb3c37a276d019c06026 (patch) | |
tree | 39692a40f90d8cc4f99265da028744eff24bac49 | |
parent | da6e169866ec06f4359aacfdeae14a6c7e796255 (diff) | |
parent | 63bfdef2722232397e7e7cc57e892a7e6a4b93e6 (diff) |
Merge pull request #258 from nextcloud/backport/255/stable21v21.0.9rc1v21.0.9v21.0.8rc3v21.0.8stable21
-rw-r--r-- | .github/workflows/block-merge-freeze.yml | 21 |
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 0000000..e56884c --- /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' |