34 搜索结果 "best practices"
代码安全 / 代码扫描 / 代码扫描疑难解答 /
警告:“此工作流检测到 1 个问题:不再需要 git checkout HEAD^2”
如果看到此警告,应更新工作流以遵循当前的最佳做法。
关于此警告
Warning: 1 issue was detected with this workflow: git checkout HEAD^2 is no longer
necessary. Please remove this step as
代码安全 / 代码扫描 / 代码扫描疑难解答 /
错误:“生成期间未看到任何源代码”
当 CodeQL 找不到任何源代码时,需要解决此问题以取消阻止 code scanning 分析。
If your workflow fails with Error: "No source code was seen during the build" or The process
代码安全 / 保护你的组织 / 管理组织安全性 /
解读存储库的安全发现
可以分析组织中关于存储库的安全数据,确定是否需要对安全设置进行更改。
Note: Security configurations and global settings are in beta and subject to change. To provide feedback on these features
REST API / Search /
搜索的 REST API 端点
REST API/
Search/
Search
搜索的 REST API 端点
使用 REST API 在 GitHub 上搜索特定项。
关于搜索
可以使用 REST API 搜索要查找的特定项。 例如,您可以在仓库中找到用户或特定文件。 就像您在 Google 上执行搜索一样。 它旨在帮助您找到要查找的一个或几个结果。
代码安全 / 代码扫描 / 创建高级设置 /
对编译语言进行 CodeQL 代码扫描
了解 CodeQL 如何分析已编译语言、提供哪些生成选项,以及如何在需要时自定义数据库生成流程。
About the CodeQL analysis workflow and compiled languages
Code scanning works by running queries against
REST API / 行为准则 /
行为准则的 REST API 终结点
REST API/
行为准则/
行为准则
行为准则的 REST API 终结点
使用 REST API 获取有关行为准则的信息。
Get all codes of conduct
Returns array of all GitHub's codes of conduct.
“Get all codes
代码安全 / 适用于 VS Code 的 CodeQL / 使用入门 /
通过多库变体分析大规模运行 CodeQL 查询
可对 GitHub.com 上的大量存储库运行 CodeQL 查询,从 Visual Studio Code。
Note: Multi-repository variant analysis is currently available as a beta release and is subject
参与编写 GitHub Docs / 为 GitHub Docs 编写内容 /
为 GitHub Docs 创建关系图
本指南介绍何时与如何为 GitHub Docs 创建关系图。
About diagrams in GitHub Docs
Diagrams use shapes, lines, and labels to explain concepts visually. We use diagrams to support
GitHub Actions / 部署 / 安全强化部署 /
关于使用 OpenID Connect 进行安全强化
OpenID Connect 允许您的工作流程直接从云提供商交换短期令牌。
Overview of OpenID Connect
GitHub Actions workflows are often designed to access a cloud provider (such as AWS, Azure
GitHub Copilot / 配置 GitHub Copilot /
在环境中配置 GitHub Copilot
可以在受支持的 IDE 中启用、配置或禁用 GitHub Copilot。
About GitHub Copilot in JetBrains IDEs
If you use a JetBrains IDE, GitHub Copilot can autocomplete code as you type