From ca80757214b3c24b36042a9d2299e959fcab235c Mon Sep 17 00:00:00 2001 From: lea Date: Thu, 4 Apr 2024 03:42:39 -0700 Subject: [PATCH] fix: use raboneko user for backports (#1044) (#1046) (cherry picked from commit 70d15c769c7f4dffd83b8fcda23846bfda3ab97e) # Conflicts: # .github/workflows/sync.yml --- .github/workflows/sync.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/sync.yml diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000000..dcdc05ccda --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,24 @@ +name: Automatic backport/sync action + +on: + pull_request_target: + types: ["labeled", "closed"] + +jobs: + backport: + name: Backport/sync PR + runs-on: ubuntu-latest + steps: + - name: Backport Action + uses: sorenlouv/backport-github-action@v9.3.0 + with: + github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }} + auto_backport_label_prefix: sync- + + - name: Info log + if: ${{ success() }} + run: cat ~/.backport/backport.info.log + + - name: Debug log + if: ${{ failure() }} + run: cat ~/.backport/backport.debug.log