From 57a878c0f3cc4a9763d9b7dcee9d56715b5013d4 Mon Sep 17 00:00:00 2001 From: Yoshiki Fujikane Date: Tue, 30 Jul 2024 16:13:10 +0900 Subject: [PATCH] Set fetch-depth to 0 to create correct patches during git cherry-pick as much as possible Signed-off-by: Yoshiki Fujikane --- .github/workflows/cherry_pick.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cherry_pick.yaml b/.github/workflows/cherry_pick.yaml index 50e14ddbaf..dbd7740508 100644 --- a/.github/workflows/cherry_pick.yaml +++ b/.github/workflows/cherry_pick.yaml @@ -16,6 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: make a cherry-pick PR run: | git config user.name "pipecd-bot"