遵循以下最佳实践的项目将能够自愿的自我认证,并显示他们已经实现了核心基础设施计划(OpenSSF)徽章。 显示详细资料
[](https://www.bestpractices.dev/projects/6061)
<a href="https://www.bestpractices.dev/projects/6061"><img src="https://www.bestpractices.dev/projects/6061/badge"></a>
Kubernetes controller for GitHub Actions self-hosted runners
We require evidence that the patch works, including steps to test the change locally. We don't have a defined coding standard, but we require code reviews from maintainers so incorrectly styled code are rejected via reviews. Please also refer to https://github.com/actions-runner-controller/actions-runner-controller/blob/master/CONTRIBUTING.md#how-to-contribute-a-patch
We're using GitHub Issues as the issue tracker
Automated tests are generally written by maintainers so that they can better understand how the new features and bug fixes work. So, we don't require contributors to write tests themselves.
We run all the checks provided by go vet
go vet
go vet provides a few rules to detect potential issues due to unsafe cgo usage or concurrency bugs. We don't use Go's unsafe features at all and concurrency bugs are expected to be discovered via our test suite. Also, we rely on K8s' validation to not accept invalid user inputs that may lead to vulnerabilities if handled inappropriately.
We use Go and don't rely on CGO or unsafe features so it's memory-safe
后退