diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2022-01-19 19:44:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-19 19:44:55 +0300 |
commit | 637ce79fa5e51306735bdf9cfef31c6ef0b61ca7 (patch) | |
tree | d3181402a43504500b3028ee8ebf6888022f3042 | |
parent | 74f28c39f6a6c3f126e34321a2ede8fb3e9899dc (diff) | |
parent | d602ba57b7e115c94fc789fb3ab43c795f81781d (diff) |
Merge pull request #92 from nextcloud/backport/91/stable23v23.0.3rc1v23.0.2rc1v23.0.2v23.0.1rc3v23.0.1
-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' |