diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-01-19 20:26:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 20:26:48 +0300 |
commit | a0637fd3f52613bc5d035f31ba76669979d40ae7 (patch) | |
tree | b864ee7281ac1c8393596fb4eac8cb27e3542afe | |
parent | 26c50c21d55ac22cacb71b5a6c087f112a1fe740 (diff) | |
parent | ecd3e5753a97ad12fa2e42a049963826041ad41b (diff) |
Merge pull request #638 from nextcloud/backport/635/stable21v21.0.8rc3
[stable21] Create block-merge-freeze.yml
-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' |