From 3c4947de3689711b2f15b0eb4dc0e330dcdfe030 Mon Sep 17 00:00:00 2001 From: yuokamoto Date: Fri, 3 Nov 2023 22:08:41 +0900 Subject: [PATCH] Pr action12 (#120) * update * update --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 75c04d78..350a74dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,6 +43,13 @@ jobs: # if: ${{ matrix.version }} != ${{ github.base_ref }} with: ref: ${{ matrix.version }} + - name: Debug + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + echo ${{ matrix.version }}, ${{ github.base_ref }}, $GITHUB_SHA. ${{ github.event.pull_request.user.login }} + echo $GITHUB_TOKEN + echo ${{ secrets.GITHUB_TOKEN }} - name: Cherry pick and create PR # if: ${{ matrix.version }} != ${{ github.base_ref }} env: @@ -54,6 +61,11 @@ jobs: cherry-pick reviewers: | ${{ github.event.pull_request.user.login }} + token: ${{ secrets.GITHUB_TOKEN }} + cherry-pick-branch: auto_created_${{ matrix.version }}_$GITHUB_SHA + title: '[cherry-pick to ${{ matrix.version }} from ${{ github.base_ref }}] {old_title}' + body: 'Cherry picking #{old_pull_request_id} onto this branch' + # - name: create branch # if: ${{ matrix.version }} != ${{ github.base_ref }}