Compare commits

...

5 Commits

Author SHA1 Message Date
Aman Karmani
54abbfa652
Merge 01c93c111dae19eed135a108f52c5226abb0adfe into e88fc8927a52b74f55bec0351604a56ac0aa1c51 2025-11-21 10:22:30 +01:00
Bo-Yi Wu
e88fc8927a
ci(sec): schedule Trivy security scans to run daily at midnight UTC (#4439)
- Change Trivy scan schedule from quarterly to daily runs at 00:00 UTC

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2025-11-18 23:05:54 +08:00
thinkerou
01c93c111d
Merge branch 'master' into http-abort-err 2021-01-11 09:08:08 +08:00
thinkerou
1fc5ec954c
Merge branch 'master' into http-abort-err 2021-01-04 12:52:17 +08:00
Aman Karmani
c8af93d50b treat http.ErrAbortHandler as broken pipe too 2020-12-22 16:12:02 -08:00
2 changed files with 5 additions and 3 deletions

View File

@ -8,9 +8,8 @@ on:
branches:
- master
schedule:
# Run every 3 months (quarterly) on the 1st day at 00:00 UTC
# Months: January (1), April (4), July (7), October (10)
- cron: '0 0 1 1,4,7,10 *'
# Run daily at 00:00 UTC
- cron: '0 0 * * *'
workflow_dispatch: # Allow manual trigger
permissions:

View File

@ -68,6 +68,9 @@ func CustomRecoveryWithWriter(out io.Writer, handle RecoveryFunc) HandlerFunc {
}
}
}
if err == http.ErrAbortHandler {
brokenPipe = true
}
if logger != nil {
const stackSkip = 3
if brokenPipe {