fix: use raboneko user for backports (#1044) (#1045)

(cherry picked from commit 70d15c769c)

# Conflicts:
#	.github/workflows/sync.yml
This commit is contained in:
lea
2024-04-04 03:42:33 -07:00
committed by GitHub
parent cac4ea3770
commit 8d976aa8e5
+24
View File
@@ -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