You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/29 13:09:45 UTC

[doris] branch master updated: [fix](ci): add checkout to fix PR-title-checker (#11336)

This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new a46f94320d [fix](ci): add checkout to fix PR-title-checker (#11336)
a46f94320d is described below

commit a46f94320d79fc5e5c9256fcb5d8e47917564355
Author: jakevin <ja...@gmail.com>
AuthorDate: Fri Jul 29 21:09:41 2022 +0800

    [fix](ci): add checkout to fix PR-title-checker (#11336)
---
 .github/workflows/title-checker.yml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/title-checker.yml b/.github/workflows/title-checker.yml
index 5e4cca7385..3a985ed0a7 100644
--- a/.github/workflows/title-checker.yml
+++ b/.github/workflows/title-checker.yml
@@ -20,14 +20,20 @@ name: 'Check PR title'
 
 on:
   pull_request:
-    types: [opened, edited]
+    types: [ opened, edited ]
 
 jobs:
   PR-title-checker:
     name: "PR title checker"
     runs-on: ubuntu-latest
     steps:
-      - uses: ./.github/actions/action-pr-title
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+        uses: actions/checkout@v2
+        with:
+          persist-credentials: false
+          submodules: recursive
+      - name: Check Title
+        uses: ./.github/actions/action-pr-title
         with:
           regex: '\[([a-zA-Z0-9])+\]\(([a-zA-Z0-9])+\)(.*)'
           github_token: ${{ github.token }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org