From 1436aaa96051b4759f90c620f7d0d23ca49024b3 Mon Sep 17 00:00:00 2001 From: openvela-robot Date: Fri, 27 Dec 2024 19:54:24 +0800 Subject: [PATCH 1/3] add .github/CODEOWNERS PULL_REQUEST_TEMPLATE.md --- .gitee/PULL_REQUEST_TEMPLATE.md | 11 +++++++++++ .github/CODEOWNERS | 1 + .github/PULL_REQUEST_TEMPLATE.md | 20 ++++++++++++++++++++ .github/workflows/ci.yml | 2 ++ 4 files changed, 34 insertions(+) create mode 100644 .gitee/PULL_REQUEST_TEMPLATE.md create mode 100644 .github/CODEOWNERS create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.gitee/PULL_REQUEST_TEMPLATE.md b/.gitee/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..cd8b2bc --- /dev/null +++ b/.gitee/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ +## 概要 + +*在此部分更新信息,说明更改的必要性、具体做了什么以及如何实现的,如果有新功能出现,请提供参考资料(依赖关系、类似问题和解决方案等)。* + +## 影响 + +*在此部分更新信息(如适用),说明更改如何影响用户、构建过程、硬件、文档、安全性、兼容性等。* + +## 测试 + +*在此部分更新信息,详细说明如何验证更改,使用什么主机进行构建(操作系统、CPU、编译器等),使用什么目标进行验证(架构、板子:配置等)。提供更改前后的构建和运行日志将非常有帮助。* \ No newline at end of file diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..50857c0 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @xiaoxiang781216 @GUIDINGLI diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..cfe55eb --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,20 @@ +*Note: Please adhere to [Contributing Guidelines](https://github.com/open-vela/docs/blob/dev/CONTRIBUTING.md).* + +## Summary + +*Update this section with information on why change is necessary, + what it exactly does and how, if new feature shows up, provide + references (dependencies, similar problems and solutions), etc.* + +## Impact + +*Update this section, where applicable, on how change affects users, + build process, hardware, documentation, security, compatibility, etc.* + +## Testing + +*Update this section with details on how did you verify the change, + what Host was used for build (OS, CPU, compiler, ..), what Target was + used for verification (arch, board:config, ..), etc. Providing build + and runtime logs from before and after change is highly appreciated.* + diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 412f338..c6feefd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,8 @@ name: CI on: pull_request: types: [opened, reopened, synchronize] + pull_request_review: + types: [submitted] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From 6473c6bde1b67bf6ce0e1e60c9da4e8036b8d889 Mon Sep 17 00:00:00 2001 From: openvela-robot Date: Sat, 28 Dec 2024 00:08:17 +0800 Subject: [PATCH 2/3] update workflows ci.yml, delete pull_request_review trigger --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6feefd..412f338 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,8 +6,6 @@ name: CI on: pull_request: types: [opened, reopened, synchronize] - pull_request_review: - types: [submitted] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From 7c2e9e8a9a3f8ddc7610c80f769cd7f576bdba54 Mon Sep 17 00:00:00 2001 From: openvela-robot Date: Thu, 9 Jan 2025 23:59:57 +0800 Subject: [PATCH 3/3] Update the ci trigger from pull_request to pull_request_target --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 412f338..7a034a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ name: CI # Controls when the workflow will run on: - pull_request: + pull_request_target: types: [opened, reopened, synchronize] # A workflow run is made up of one or more jobs that can run sequentially or in parallel