mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-17 11:57:12 +03:00
📖 Updated instruction for check documentation
Included docs in CONTRIBUTING.md for updating docs for checks.
This commit is contained in:
parent
fc82659e9c
commit
670e1980d5
@ -8,20 +8,20 @@ project. This document describes the contribution guidelines for the project.
|
||||
|
||||
<!-- vim-markdown-toc GFM -->
|
||||
|
||||
* [Contributing code](#contributing-code)
|
||||
* [Getting started](#getting-started)
|
||||
* [Environment Setup](#environment-setup)
|
||||
* [Contributing steps](#contributing-steps)
|
||||
* [How to build scorecard locally](#how-to-build-scorecard-locally)
|
||||
* [PR Process](#pr-process)
|
||||
* [What to do before submitting a pull request](#what-to-do-before-submitting-a-pull-request)
|
||||
* [Permission for GitHub personal access tokens](#permission-for-github-personal-access-tokens)
|
||||
* [Where the CI Tests are configured](#where-the-ci-tests-are-configured)
|
||||
* [dailyscore-cronjob](#dailyscore-cronjob)
|
||||
* [Deploying the cron job](#deploying-the-cron-job)
|
||||
* [How do I add additional GitHub repositories to be scanned by scorecard
|
||||
dailyscore?](#how-do-i-add-additional-github-repositories-to-be-scanned-by-scorecard-dailyscore)
|
||||
* [Adding New Checks](#adding-new-checks)
|
||||
* [Contributing code](#contributing-code)
|
||||
* [Getting started](#getting-started)
|
||||
* [Environment Setup](#environment-setup)
|
||||
* [Contributing steps](#contributing-steps)
|
||||
* [How to build scorecard locally](#how-to-build-scorecard-locally)
|
||||
* [PR Process](#pr-process)
|
||||
* [What to do before submitting a pull request](#what-to-do-before-submitting-a-pull-request)
|
||||
* [Permission for GitHub personal access tokens](#permission-for-github-personal-access-tokens)
|
||||
* [Where the CI Tests are configured](#where-the-ci-tests-are-configured)
|
||||
* [dailyscore-cronjob](#dailyscore-cronjob)
|
||||
* [Deploying the cron job](#deploying-the-cron-job)
|
||||
* [How do I add additional GitHub repositories to be scanned by scorecard dailyscore?](#how-do-i-add-additional-github-repositories-to-be-scanned-by-scorecard-dailyscore)
|
||||
* [Adding New Checks](#adding-new-checks)
|
||||
* [Updating Docs](#updating-docs)
|
||||
|
||||
<!-- vim-markdown-toc -->
|
||||
|
||||
@ -155,5 +155,12 @@ Checks are registered in an init function:
|
||||
})
|
||||
```
|
||||
|
||||
### Updating Docs
|
||||
|
||||
The docs need to be updated for the checks. A summary needs to be included in the README.md and also
|
||||
/checks/checks.yaml and checks/checks.md needs to be updated.
|
||||
|
||||
The /checks/checks.md is auto generated by running ./checks/main/main.go
|
||||
|
||||
Currently only one set of checks can be run. In the future, we'll allow
|
||||
declaring multiple suites and configuring which checks get run.
|
||||
|
Loading…
Reference in New Issue
Block a user