porting all github actions from bluesky-social/indigo to tangled CI

ensure automod PDS blob fetch errors drain body (#938)

authored by bnewbold.net and committed by GitHub 6589f024 b579a4df

Changed files
+1
automod
engine
+1
automod/engine/blobs.go
··· 82 82 83 83 blobDownloadCount.WithLabelValues(fmt.Sprint(resp.StatusCode)).Inc() 84 84 if resp.StatusCode != 200 { 85 + io.Copy(io.Discard, resp.Body) 85 86 return nil, fmt.Errorf("failed to fetch blob from PDS. did=%s cid=%s statusCode=%d", c.Account.Identity.DID, blob.Ref, resp.StatusCode) 86 87 } 87 88