From ee8627b00c46534d956273c3cba6460c0d72ff0c Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Tue, 4 Jul 2023 12:44:25 +0300 Subject: [PATCH 1/2] Run backport workflow as fluxcdbot Signed-off-by: Stefan Prodan (cherry picked from commit c122f60fe6c94a53feb2a8e15e9ea9c306900a01) --- .github/workflows/backport.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 55c1fd1d..27c966e7 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -23,6 +23,8 @@ jobs: uses: korthout/backport-action@bf5fdd624b35f95d5b85991a728bd5744e8c6cf2 # v1.3.1 # xref: https://github.com/korthout/backport-action#inputs with: + # Use token to allow workflows to be triggered for the created PR + token: ${{ secrets.BOT_GITHUB_TOKEN }} # Match labels with a pattern `backport:` label_pattern: '^backport:([^ ]+)$' # A bit shorter pull-request title than the default From b8419f4c767beede474240f57dc07e1dae08962a Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Tue, 4 Jul 2023 12:10:33 +0200 Subject: [PATCH 2/2] ci: backport: `token` -> `github_token` Signed-off-by: Hidde Beydals (cherry picked from commit 40678c22d92b5a6d5f8ef5398445cb34177e0c76) --- .github/workflows/backport.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 27c966e7..75c7f772 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -24,7 +24,7 @@ jobs: # xref: https://github.com/korthout/backport-action#inputs with: # Use token to allow workflows to be triggered for the created PR - token: ${{ secrets.BOT_GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_GITHUB_TOKEN }} # Match labels with a pattern `backport:` label_pattern: '^backport:([^ ]+)$' # A bit shorter pull-request title than the default