diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2022-01-19 19:09:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:09:04 +0300 |
commit | 75ba39d0ba9aacf3812821a9850b03384067183c (patch) | |
tree | b7a1b6eddbdf68a2e1b97e9e9624934d5e4aa1bf /.github | |
parent | 9f59d9e1fa32c86bf9d7532109c8a5cada9b94e2 (diff) |
Create block-merge-freeze.yml
Diffstat (limited to '.github')
-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 000000000..e56884ccc --- /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' |