You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/09/06 13:49:11 UTC
[rocketmq] branch develop updated: Enable codeql analysis (#5006)
This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new a5d07e106 Enable codeql analysis (#5006)
a5d07e106 is described below
commit a5d07e106af81eb1e36d750e1f0d0832a8ea8b3d
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Tue Sep 6 21:48:45 2022 +0800
Enable codeql analysis (#5006)
---
.github/workflows/codeql_analysis.yml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml
new file mode 100644
index 000000000..0f84f7571
--- /dev/null
+++ b/.github/workflows/codeql_analysis.yml
@@ -0,0 +1,28 @@
+name: CodeQL Analysis
+
+on:
+ pull_request:
+ types: [opened, reopened, synchronize]
+ push:
+ branches:
+ - master
+
+jobs:
+ CodeQL-Build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v3
+
+ # Initializes the CodeQL tools for scanning.
+ - name: Initialize CodeQL
+ uses: github/codeql-action/init@v2
+ with:
+ languages: java
+
+ - name: Autobuild
+ uses: github/codeql-action/autobuild@v2
+
+ - name: Perform CodeQL Analysis
+ uses: github/codeql-action/analyze@v2