From a8ab92ca43e9a24c53ad034c773ca5c951d5b8f1 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Thu, 3 Jul 2025 19:32:06 +0200 Subject: [PATCH 1/2] trustpub: Add examples to workflow filename help text --- app/templates/crate/settings/new-trusted-publisher.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/crate/settings/new-trusted-publisher.hbs b/app/templates/crate/settings/new-trusted-publisher.hbs index 3bb1b667631..f1251a664f3 100644 --- a/app/templates/crate/settings/new-trusted-publisher.hbs +++ b/app/templates/crate/settings/new-trusted-publisher.hbs @@ -106,7 +106,7 @@ {{else}}
- The filename of the publishing workflow. This file should be present in the .github/workflows/ directory of the repository configured above. + The filename of the publishing workflow. This file should be present in the .github/workflows/ directory of the repository configured above. For example: release.yml or publish.yml.
{{/if}} {{/let}} From 510069f4e0ade58fb884df3d52da150118755626 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Thu, 3 Jul 2025 19:37:01 +0200 Subject: [PATCH 2/2] trustpub: Improve form layout and styling for trusted publisher creation --- .../crate/settings/new-trusted-publisher.module.css | 9 +++++++-- app/templates/crate/settings/new-trusted-publisher.hbs | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/styles/crate/settings/new-trusted-publisher.module.css b/app/styles/crate/settings/new-trusted-publisher.module.css index 8ca8bd50eae..020fddccf53 100644 --- a/app/styles/crate/settings/new-trusted-publisher.module.css +++ b/app/styles/crate/settings/new-trusted-publisher.module.css @@ -1,9 +1,14 @@ +.form { + max-width: 600px; + margin: var(--space-m) auto; +} + .form-group, .buttons { margin: var(--space-m) 0; } .publisher-select { - max-width: 440px; + max-width: 600px; width: 100%; padding-right: var(--space-m); background-image: url("/assets/dropdown.svg"); @@ -19,7 +24,7 @@ } .input { - max-width: 440px; + max-width: 600px; width: 100%; } diff --git a/app/templates/crate/settings/new-trusted-publisher.hbs b/app/templates/crate/settings/new-trusted-publisher.hbs index f1251a664f3..d6c993cc9d5 100644 --- a/app/templates/crate/settings/new-trusted-publisher.hbs +++ b/app/templates/crate/settings/new-trusted-publisher.hbs @@ -1,6 +1,6 @@ -

Add a new Trusted Publisher

+
+

Add a new Trusted Publisher

-
{{#let (unique-id) as |id|}}