diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:43:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:43:31 +0300 |
commit | f2bb71fe6e454fb39585bd9dbe49c2c729450357 (patch) | |
tree | 32537f139ac561ec85d1d8579a29868827ad790c | |
parent | d3b94ccda8164913fcb16c26949312b4a3b9d06d (diff) | |
parent | 75d8f7a96de91274c8b8ac384046a55f63153cac (diff) |
Merge pull request #132 from nextcloud/backport/130/stable22v22.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' |