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
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -350,6 +350,34 @@ steps:
350
350
351
351
The plugin automatically retries binary downloads up to 3 times with a 5-second delay between attempts. This handles transient network issues when downloading from GitHub.
352
352
353
+
### `verify_checksum` (optional)
354
+
355
+
Default: `false`
356
+
357
+
Enable SHA256 checksum verification for downloaded binaries to enhance security. When enabled, the plugin verifies checksums against those published in the GitHub release, providing protection against compromised artifacts, network attacks, and binary tampering.
358
+
359
+
Checksum verification is performed for:
360
+
- Newly downloaded binaries (fails and deletes binary on mismatch)
361
+
- Cached binaries before reuse (automatically re-downloads on mismatch)
362
+
- Pre-installed binaries when `download: false` (best-effort, non-blocking)
363
+
364
+
To enable checksum verification:
365
+
366
+
```yaml
367
+
steps:
368
+
- label: "Triggering pipelines"
369
+
plugins:
370
+
- monorepo-diff#v1.8.0:
371
+
verify_checksum: true # Recommended for enhanced security
372
+
diff: "git diff --name-only HEAD~1"
373
+
watch:
374
+
- path: "foo-service/"
375
+
config:
376
+
trigger: "deploy-foo-service"
377
+
```
378
+
379
+
If checksums are unavailable for a release or the SHA256 command is not found on the system, the plugin will warn but continue execution (graceful degradation).
380
+
353
381
### `hooks` (optional)
354
382
355
383
Currently supports a list of `commands` you wish to execute after the `watched` pipelines have been triggered
0 commit comments