diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 13:23:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 13:23:50 +0300 |
commit | 8b4aba1f55cded8bfcba971fc869c5d071be5d83 (patch) | |
tree | 9707386950d0e58ab3bbec1a07abea91a04596ae | |
parent | e29efdc9dc8086f87c2eebe6509c4b6f88f285fa (diff) | |
parent | ab98bf13d61800eccf7c1f292566fb638da39afe (diff) |
Merge pull request #547 from nextcloud/backport/543/stable20stable20
-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' |