Skip to content

Commit bef3a5c

Browse files
authored
trustpub: Fix email typos (#11421)
1 parent 2a8ac02 commit bef3a5c

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ expression: app.emails_snapshot().await
44
---
55
To: foo@example.com
66
From: crates.io <noreply@crates.io>
7-
Subject: crates.io: Trusted Publishing configration added to foo
7+
Subject: crates.io: Trusted Publishing configuration added to foo
88
Content-Type: text/plain; charset=utf-8
99
Content-Transfer-Encoding: quoted-printable
1010

1111
Hello foo!
1212

13-
crates.io user foo has added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
13+
crates.io user foo added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
1414

1515
Trusted Publishing configuration:
1616

src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ expression: app.emails_snapshot().await
44
---
55
To: foo@example.com
66
From: crates.io <noreply@crates.io>
7-
Subject: crates.io: Trusted Publishing configration removed from foo
7+
Subject: crates.io: Trusted Publishing configuration removed from foo
88
Content-Type: text/plain; charset=utf-8
99
Content-Transfer-Encoding: quoted-printable
1010

1111
Hello foo!
1212

13-
crates.io user foo has remove a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage (foo).
13+
crates.io user foo removed a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage (foo).
1414

1515
Trusted Publishing configuration:
1616

src/controllers/trustpub/github_configs/emails.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub struct ConfigCreatedEmail<'a> {
1616
impl Email for ConfigCreatedEmail<'_> {
1717
fn subject(&self) -> String {
1818
let Self { krate, .. } = self;
19-
format!("crates.io: Trusted Publishing configration added to {krate}")
19+
format!("crates.io: Trusted Publishing configuration added to {krate}")
2020
}
2121

2222
fn body(&self) -> String {
@@ -33,7 +33,7 @@ impl Email for ConfigCreatedEmail<'_> {
3333
format!(
3434
"Hello {recipient}!
3535
36-
crates.io user {user} has added a new \"Trusted Publishing\" configuration for GitHub Actions to a crate that you manage ({krate}). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
36+
crates.io user {user} added a new \"Trusted Publishing\" configuration for GitHub Actions to a crate that you manage ({krate}). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
3737
3838
Trusted Publishing configuration:
3939
@@ -65,7 +65,7 @@ pub struct ConfigDeletedEmail<'a> {
6565
impl Email for ConfigDeletedEmail<'_> {
6666
fn subject(&self) -> String {
6767
let Self { krate, .. } = self;
68-
format!("crates.io: Trusted Publishing configration removed from {krate}")
68+
format!("crates.io: Trusted Publishing configuration removed from {krate}")
6969
}
7070

7171
fn body(&self) -> String {
@@ -82,7 +82,7 @@ impl Email for ConfigDeletedEmail<'_> {
8282
format!(
8383
"Hello {recipient}!
8484
85-
crates.io user {user} has remove a \"Trusted Publishing\" configuration for GitHub Actions from a crate that you manage ({krate}).
85+
crates.io user {user} removed a \"Trusted Publishing\" configuration for GitHub Actions from a crate that you manage ({krate}).
8686
8787
Trusted Publishing configuration:
8888

src/tests/krate/publish/snapshots/crates_io__tests__krate__publish__trustpub__full_flow-11.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ If you have questions or security concerns, you can contact us at [email protected]
1717

1818
To: foo@example.com
1919
From: crates.io <noreply@crates.io>
20-
Subject: crates.io: Trusted Publishing configration added to foo
20+
Subject: crates.io: Trusted Publishing configuration added to foo
2121
Content-Type: text/plain; charset=utf-8
2222
Content-Transfer-Encoding: quoted-printable
2323

2424
Hello foo!
2525

26-
crates.io user foo has added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
26+
crates.io user foo added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage (foo). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
2727

2828
Trusted Publishing configuration:
2929

0 commit comments

Comments
 (0)