Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yolov5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
yolov5
Commits
b53c8ac1
Unverified
提交
b53c8ac1
authored
12月 09, 2020
作者:
Glenn Jocher
提交者:
GitHub
12月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Create codeql-analysis.yml (#1644)
* Create codeql-analysis.yml * Update ci-testing.yml
上级
68e6ab66
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
58 行增加
和
1 行删除
+58
-1
ci-testing.yml
.github/workflows/ci-testing.yml
+4
-1
codeql-analysis.yml
.github/workflows/codeql-analysis.yml
+54
-0
没有找到文件。
.github/workflows/ci-testing.yml
浏览文件 @
b53c8ac1
...
@@ -2,9 +2,12 @@ name: CI CPU testing
...
@@ -2,9 +2,12 @@ name: CI CPU testing
on
:
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
on
:
# https://help.github.com/en/actions/reference/events-that-trigger-workflows
push
:
push
:
branches
:
[
master
]
pull_request
:
pull_request
:
# The branches below must be a subset of the branches above
branches
:
[
master
]
schedule
:
schedule
:
-
cron
:
"
0
0
*
*
*"
-
cron
:
'
0
0
*
*
*'
# Runs at 00:00 UTC every day
jobs
:
jobs
:
cpu-tests
:
cpu-tests
:
...
...
.github/workflows/codeql-analysis.yml
0 → 100644
浏览文件 @
b53c8ac1
# This action runs GitHub's industry-leading static analysis engine, CodeQL, against a repository's source code to find security vulnerabilities.
# https://github.com/github/codeql-action
name
:
"
CodeQL"
on
:
schedule
:
-
cron
:
'
0
0
1
*
*'
# Runs at 00:00 UTC on the 1st of every month
jobs
:
analyze
:
name
:
Analyze
runs-on
:
ubuntu-latest
strategy
:
fail-fast
:
false
matrix
:
language
:
[
'
python'
]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps
:
-
name
:
Checkout repository
uses
:
actions/checkout@v2
# Initializes the CodeQL tools for scanning.
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v1
with
:
languages
:
${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
-
name
:
Autobuild
uses
:
github/codeql-action/autobuild@v1
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v1
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论