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
Use this [workflow template](.github/workflows/map-deploy-to-develop-template.yml) for validating the integrity of open-source binary. It compares a project’s binary to its source code. Workflow will generate mapping between compiled binary and its original source code, which helps in spotting any malicious, unexpected, or otherwise undesirable code that may have made its way into the final binary.
242
236
243
-
#### To use follow these steps:
237
+
#### To use follow these steps
244
238
245
239
1. In your workflow add job to build binary and upload it as a GitHub actions artifact.
246
240
2. Now add a second job to run source binary mapping using [template](.github/workflows/map-deploy-to-develop-template.yml).
241
+
247
242
```yaml
248
243
map-source-binary:
249
244
needs: # Job id from step 1
@@ -255,10 +250,9 @@ Use this [workflow template](.github/workflows/map-deploy-to-develop-template.ym
255
250
256
251
See an end-to-end working example for a python project [here](.github/workflows/map-source-binary-boolean-py.yml)
257
252
258
-
259
253
## Where are the Scan Results?
260
254
261
-
Upon completion of the workflow, you can **find the scan results** in the dedicated
262
-
**artifacts section** at the bottom of the workflow summary page.
263
-
Look for a file named `scancode-outputs` in that section.
255
+
Upon completion of the workflow, you can **find the scan results** in the dedicated
256
+
**artifacts section** at the bottom of the workflow summary page.
257
+
Look for a file named `scancode-outputs` in that section.
264
258
This file contains the outputs generated by the `scancode-action`.
0 commit comments