From a0e8a4155dce19ef9fad80f0381a67dbbca0e1bd Mon Sep 17 00:00:00 2001 From: BWbwchen Date: Fri, 5 Jan 2024 13:57:33 +0800 Subject: [PATCH] bugfix(CI) Automatically trigger CI for auto-cherry-pick workflow Based on the document of [`github-cherry-pick-action`](https://github.com/marketplace/actions/github-cherry-pick-action#action-inputs) , add token input to change the default token that the auto-cherry-pick workflow used. Signed-off-by: Bo-Wei Chen(BWbwchen) --- .github/workflows/auto-cherry-pick.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/auto-cherry-pick.yml b/.github/workflows/auto-cherry-pick.yml index dad2474a25c..82f3829baea 100644 --- a/.github/workflows/auto-cherry-pick.yml +++ b/.github/workflows/auto-cherry-pick.yml @@ -19,6 +19,7 @@ jobs: - name: Cherry pick into branch-0.1 uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 with: + token: ${{ secrets.BOT_TOKEN }} branch: branch-0.1 labels: | cherry-pick @@ -36,6 +37,7 @@ jobs: - name: Cherry pick into branch-0.2 uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 with: + token: ${{ secrets.BOT_TOKEN }} branch: branch-0.2 labels: | cherry-pick @@ -53,6 +55,7 @@ jobs: - name: Cherry pick into branch-0.3 uses: carloscastrojumo/github-cherry-pick-action@v1.0.9 with: + token: ${{ secrets.BOT_TOKEN }} branch: branch-0.3 labels: | cherry-pick