diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:52:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:52:33 +0300 |
commit | 30df78e4cf9f0574b7b6deb326b3db010f1b3e26 (patch) | |
tree | 3975244eab440a35d9a623c6c05308be41b105c6 | |
parent | c20cba6c1d7d0b0dbaef01d4958f67fb860467bf (diff) | |
parent | 146f80bc400b45a4eec2677562ad0fe3db060864 (diff) |
Merge pull request #124 from nextcloud/backport/122/stable22v22.2.5rc1v22.2.4rc3v22.2.4
-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' |