From 58c04b7a7b6e0c118a546198b392104a40760446 Mon Sep 17 00:00:00 2001 From: sunxyw <31698606+sunxyw@users.noreply.github.com> Date: Mon, 9 May 2022 16:42:34 +0800 Subject: [PATCH] fix incorrect build branch --- .github/workflows/increment-build-number.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/increment-build-number.yml b/.github/workflows/increment-build-number.yml index 66ade70b..8a51a919 100644 --- a/.github/workflows/increment-build-number.yml +++ b/.github/workflows/increment-build-number.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 with: - ref: ${{ github.head_ref }} + ref: ${{ github.base_ref }} - name: Setup PHP uses: "shivammathur/setup-php@v2"