From 8c2590ebbb8fab6fd7b100466674658f83800b7a Mon Sep 17 00:00:00 2001 From: MTRNord Date: Thu, 27 Jul 2023 11:51:10 +0200 Subject: [PATCH] Allow githubusercontent for typos update --- .github/workflows/spell-check.yml | 4 +++- crates/erooster_smtp/src/commands/data.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spell-check.yml b/.github/workflows/spell-check.yml index d9361d8e..fd4e9cdf 100644 --- a/.github/workflows/spell-check.yml +++ b/.github/workflows/spell-check.yml @@ -19,7 +19,9 @@ jobs: uses: step-security/harden-runner@1f99358870fe1c846a3ccba386cc2b2246836776 with: egress-policy: block - allowed-endpoints: github.com:443 + allowed-endpoints: > + github.com:443 + objects.githubusercontent.com:443 env: USER: runner - name: Checkout Actions Repository diff --git a/crates/erooster_smtp/src/commands/data.rs b/crates/erooster_smtp/src/commands/data.rs index 53384922..27353c7f 100644 --- a/crates/erooster_smtp/src/commands/data.rs +++ b/crates/erooster_smtp/src/commands/data.rs @@ -257,7 +257,7 @@ impl DataCommand<'_> { let message_id = storage.store_new(&mailbox_path, data.as_bytes()).await?; debug!("Stored message: {}", message_id); } - // TODO cleanup after we are done + // TODO: cleanup after we are done lines .send(String::from("250 2.6.0 Message accepted")) .await?;