浏览代码

set ref when checkout

Yuki Takei 4 年之前
父节点
当前提交
587871264c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/ci-app-prod.yml

+ 1 - 0
.github/workflows/ci-app-prod.yml

@@ -282,6 +282,7 @@ jobs:
     steps:
     - uses: actions/checkout@v2
       with:
+        ref: ${{ github.head_ref }}
         fetch-depth: 0
 
     - uses: actions/setup-node@v2