diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 10:59:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 10:59:00 +0100 |
commit | 6b893356310ddfda80ee57a9617202b33e7358e6 (patch) | |
tree | 8af95510b1f27516c2aed15fb76cbbc481561e15 /.github | |
parent | 598a5c96a69f60aa5437e6ade52eba9efd692f3e (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 00000000..e56884cc --- /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' |