This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 270bebe [chore](github) Add third-party GitHub Action as submodule to
allow it to run (#7280)
270bebe is described below
commit 270bebe19689f5ddb5fc455ba4f3aac519923002
Author: kezhenxu94 <[email protected]>
AuthorDate: Sat Dec 4 19:43:30 2021 +0800
[chore](github) Add third-party GitHub Action as submodule to allow it to
run (#7280)
Add the 3rd-party GHA as submodule so that it can be run without asking to
add it into allow list.
---
.github/actions/clang-format-lint-action | 1 +
.github/workflows/clang-format.yml | 5 ++++-
.gitmodules | 3 +++
3 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/.github/actions/clang-format-lint-action
b/.github/actions/clang-format-lint-action
new file mode 160000
index 0000000..9ea7263
--- /dev/null
+++ b/.github/actions/clang-format-lint-action
@@ -0,0 +1 @@
+Subproject commit 9ea72631b74e61ce337d0839a90e76180e997283
diff --git a/.github/workflows/clang-format.yml
b/.github/workflows/clang-format.yml
index 28dc5ae..af9758f 100644
--- a/.github/workflows/clang-format.yml
+++ b/.github/workflows/clang-format.yml
@@ -26,8 +26,11 @@ jobs:
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
+ with:
+ persist-credentials: false
+ submodules: recursive
- name: "Format it!"
- uses: DoozyX/[email protected]
+ uses: ./.github/actions/clang-format-lint-action
id: be_clang_format
with:
source: 'be/src be/test'
diff --git a/.gitmodules b/.gitmodules
index 0d295cb..9fe03a6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,3 +4,6 @@
[submodule ".github/actions/get-workflow-origin"]
path = .github/actions/get-workflow-origin
url = https://github.com/potiuk/get-workflow-origin.git
+[submodule ".github/actions/clang-format-lint-action"]
+ path = .github/actions/clang-format-lint-action
+ url = https://github.com/DoozyX/clang-format-lint-action.git
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]