You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Include docfx & changelog in dev process
* Scan containers only for main branch and release branches
* Add Vulnerability Scanning
Signed-off-by: Victor Chang <vicchang@nvidia.com>
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,18 @@ If your package is on the Amber list please make a maintainer aware and let them
138
138
139
139
If your package is on the Red list you will have to look for another package that achieves the same aim with a more permissive license.
140
140
141
+
142
+
##### Vulnerability Scanning
143
+
144
+
The [Build](.github/workflows/build.yml) CI worklfow builds & publishes container images to [GitHub Packages](https://github.com/orgs/Project-MONAI/packages?repo_name=monai-deploy-workflow-manager).
145
+
The CI workflow also performs container scanning using [Trivy](https://github.com/marketplace/actions/aqua-security-trivy#using-trivy-with-github-code-scanning), [Dockle](https://github.com/marketplace/actions/dockle-action), and [Anchore](https://github.com/marketplace/actions/anchore-container-scan) for the `main` branch and the `release/*` branches.
146
+
147
+
If any vulnerability is discovered without any mitigation or is false positive, please open a new GitHub issue to track the vulnerability before adding to the allowlists:
148
+
149
+
- Trivy: `.trivyignore`, include URL to the GitHub issue as comment
150
+
151
+
Once a vulnerability is mitigated or fixed, update the allowlists to remove it.
152
+
141
153
#### Test Projects
142
154
143
155
All C# projects reside in their directory, including a `Tests/` subdirectory.
@@ -154,11 +166,21 @@ MONAI Deploy Workflow Manager functionality has plenty of unit tests from which
154
166
155
167
Documentation for MONAI Deploy Workflow Manager is located at `docs/` and requires [DocFX](https://dotnet.github.io/docfx/) to build.
Note: *docfx* generated C# APIs based on [XML documentation comments](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/) written in the source code.
174
+
To configure which C# projects to include in the documentation, edit the **metadata>src>files** section in the *docs/docfx.json* file.
175
+
157
176
Please follow the [instructions](https://dotnet.github.io/docfx/tutorial/docfx_getting_started.html#2-use-docfx-as-a-command-line-tool) to install Mono and download the DocFX command-line tool to build the documentation.
158
177
159
178
```bash
160
179
[path-to]/docfx.exe docs/docfx.json
161
180
```
181
+
##### Updating Changelog
182
+
183
+
The changelog is located in `docs/changelog.md` and should be updated for every release to include new features, bug fixes and breaking changes.
0 commit comments