diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:30:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:30:26 +0300 |
commit | ee7393b0efc821a7bc8cdc11be1c28ccf4e81475 (patch) | |
tree | 380bef14901006aa308f571222fc995697790ab3 | |
parent | 8ccd2967eed29d0396e03e53d7f773324059995e (diff) | |
parent | 1a2af2ce3d21e7e08f1a65d1411141b2b881d7e4 (diff) |
Merge pull request #91 from nextcloud/nickvergessen-patch-1
-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' |