From 532f9fc30cc548255083f6067b642808ff153786 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Fri, 9 Feb 2024 13:13:53 +0100 Subject: [PATCH] test Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/backport.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index bee23b5d13..5f053c388f 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -7,7 +7,14 @@ on: jobs: backport: name: Backport PR + if: | + github.repository_owner == 'edgelesssys' && + github.event.pull_request.merged == true && + (github.event_name != 'labeled' || startsWith('backport', github.event.label.name)) runs-on: ubuntu-22.04 + permissions: + contents: write + pull-requests: write steps: - name: Backport Action uses: sorenlouv/backport-github-action@f7073a2287aefc1fa12685eb25a712ab5620445c # v9.3.1