diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-01-19 14:33:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 14:33:28 +0300 |
commit | 44a8f6ac2b7e595e1bfa58552823d41091773dd7 (patch) | |
tree | a03adc556b2766bf17a820e0a0c2a61e4ef90923 | |
parent | 2f372c74d385c9a924f7fe3e55b7ed7d7a4c6628 (diff) | |
parent | 2d8d092704b7dd6f4cfb96a9eb77d7d576837b8d (diff) |
Merge pull request #1138 from nextcloud/backport/1135/stable22v22.2.5rc1v22.2.4rc3v22.2.4
[stable22] 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' |