diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-06-01 18:09:13 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-06-02 00:26:03 +0200 |
commit | 5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b (patch) | |
tree | f0532ff35d9ba4835c8bc617b09898b90cee5734 /.github/workflows/block-merge-freeze.yml | |
parent | 07dee9788a459e704a3d5d8d64049cad91f877e7 (diff) | |
download | nextcloud-server-5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b.tar.gz nextcloud-server-5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b.zip |
chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.github/workflows/block-merge-freeze.yml')
-rw-r--r-- | .github/workflows/block-merge-freeze.yml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/block-merge-freeze.yml b/.github/workflows/block-merge-freeze.yml index bfe58551d11..f2d029c9927 100644 --- a/.github/workflows/block-merge-freeze.yml +++ b/.github/workflows/block-merge-freeze.yml @@ -3,13 +3,24 @@ # https://github.com/nextcloud/.github # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization -name: Pull request checks +name: Block merges during freezes -on: pull_request +on: + pull_request: + types: [opened, ready_for_review, reopened, synchronize] + +permissions: + contents: read + +concurrency: + group: block-merge-freeze-${{ github.head_ref || github.run_id }} + cancel-in-progress: true jobs: block-merges-during-freeze: - name: Block merges during feature freezes + name: Block merges during freezes + + if: github.event.pull_request.draft == false runs-on: ubuntu-latest |