From 210706ea145c82da7b3e489a92854b4e6a1b35fa 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 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index bee23b5d1..aa083ea15 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -6,8 +6,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