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: src/controllers/trustpub/github_configs/create/snapshots/crates_io__controllers__trustpub__github_configs__create__tests__happy_path-3.snap
Copy file name to clipboardExpand all lines: src/controllers/trustpub/github_configs/delete/snapshots/crates_io__controllers__trustpub__github_configs__delete__tests__happy_path-2.snap
Copy file name to clipboardExpand all lines: src/email/templates/config_created/body.txt.j2
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,18 @@
3
3
{%blockcontent%}
4
4
Hello {{ recipient }}!
5
5
6
-
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.
6
+
{%ifrecipient == auth_user.gh_login -%}
7
+
You added a new "Trusted Publishing" configuration for GitHub Actions to your crate "{{ krate.name }}". Trusted publishers act as trusted users and can publish new versions of the crate automatically.
8
+
{%- else -%}
9
+
crates.io user {{ auth_user.gh_login }} added a new "Trusted Publishing" configuration for GitHub Actions to a crate that you manage ("{{ krate.name }}"). Trusted publishers act as trusted users and can publish new versions of the crate automatically.
- Environment: {{ saved_config.environment or "(not set)" }}
14
18
15
19
If you did not make this change and you think it was made maliciously, you can remove the configuration from the crate via the "Settings" tab on the crate's page.
Copy file name to clipboardExpand all lines: src/email/templates/config_deleted/body.txt.j2
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,18 @@
3
3
{%blockcontent%}
4
4
Hello {{ recipient }}!
5
5
6
-
crates.io user {{ user }} removed a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage ("{{ krate }}").
6
+
{%ifrecipient == auth_user.gh_login -%}
7
+
You removed a "Trusted Publishing" configuration for GitHub Actions from your crate "{{ krate.name }}".
8
+
{%- else -%}
9
+
crates.io user {{ auth_user.gh_login }} removed a "Trusted Publishing" configuration for GitHub Actions from a crate that you manage ("{{ krate.name }}").
0 commit comments