Skip to content

Commit af3c3a5

Browse files
committed
Repo File Sync: synced file(s) with microsoft/mu_devops
Signed-off-by: Project Mu UEFI Bot <[email protected]>
1 parent 6953cfe commit af3c3a5

File tree

4 files changed

+25
-28
lines changed

4 files changed

+25
-28
lines changed

.github/release-draft-config-n-1.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
# For more information, see:
1818
# https://github.com/release-drafter/release-drafter
1919

20-
name-template: 'dev-v$RESOLVED_VERSION'
21-
tag-template: 'dev-v$RESOLVED_VERSION'
20+
name-template: 'v$RESOLVED_VERSION'
21+
tag-template: 'v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202311
23+
commitish: refs/heads/release/202311
2424
filter-by-commitish: true
25-
include-labels: ["type:backport"]
2625

2726
template: |
2827
# What's Changed

.github/release-draft-config-n.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@
1717
# For more information, see:
1818
# https://github.com/release-drafter/release-drafter
1919

20-
name-template: 'dev-v$RESOLVED_VERSION'
21-
tag-template: 'dev-v$RESOLVED_VERSION'
20+
name-template: 'v$RESOLVED_VERSION'
21+
tag-template: 'v$RESOLVED_VERSION'
2222

23-
commitish: refs/heads/dev/202405
23+
commitish: refs/heads/release/202405
2424
filter-by-commitish: true
25-
include-labels: ["type:backport"]
2625

2726
template: |
2827
# What's Changed

.github/workflows/release-draft.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@ name: Update Release Draft
2323
on:
2424
push:
2525
branches:
26-
- dev/202405
26+
- release/202405
2727

2828
jobs:
29-
dev_draft:
30-
name: Draft Releases
29+
draft:
3130

3231
permissions:
3332
contents: write
3433
pull-requests: write
3534

36-
# The "release_drafter_update_for_release_branches" branch is temporarily being used to test release
37-
# drafter changes on that branch in Mu Basecore before merging them into the main branch.
38-
uses: microsoft/mu_devops/.github/workflows/ReleaseDrafter.yml@release_drafter_update_for_release_branches
35+
uses: microsoft/mu_devops/.github/workflows/[email protected]
3936
secrets: inherit

rustfmt.toml

+16-14
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,19 @@
55

66
# Keep these options sorted in ascending order to ease lookup with rustfmt documentation.
77

8-
edition = "2021" # This would normally be picked up from Cargo.toml if not specified here
9-
force_explicit_abi = true # Always print the ABI for extern items (e.g. extern {... will become extern "C" {...)
10-
hard_tabs = false # Always uses spaces for indentation and alignment
11-
max_width = 120 # The maximum width of each line
12-
merge_derives = false # Do not merge derives into a single line (leave to author discretion).
13-
imports_granularity = "Crate" # Merge imports from a single crate into separate statements.
14-
newline_style = "Windows" # Always use Windows line endings '\r\n'
15-
reorder_impl_items = false # Do not force where type and const before macros and methods in impl blocks.
16-
reorder_imports = true # Do reorder import and extern crate statements alphabetically for readability.
17-
reorder_modules = true # Do reorder mod declarations alphabetically for readability.
18-
tab_spaces = 4 # Use 4 spaces for indentation (Rust default).
19-
unstable_features = false # Do not use unstable rustfmt features.
20-
use_small_heuristics = "Max" # Set all granular width settings to the same as max_width (do not use heuristics)
21-
wrap_comments = false # Leave comment formatting to author's discretion
8+
edition = "2021" # This would normally be picked up from Cargo.toml if not specified here
9+
enum_discrim_align_threshold = 8 # Vertically align enum discriminants
10+
force_explicit_abi = true # Always print the ABI for extern items (e.g. extern {... will become extern "C" {...)
11+
hard_tabs = false # Always uses spaces for indentation and alignment
12+
max_width = 120 # The maximum width of each line
13+
merge_derives = false # Do not merge derives into a single line (leave to author discretion).
14+
imports_granularity = "Crate" # Merge imports from a single crate into separate statements.
15+
newline_style = "Windows" # Always use Windows line endings '\r\n'
16+
reorder_impl_items = false # Do not force where type and const before macros and methods in impl blocks.
17+
reorder_imports = true # Do reorder import and extern crate statements alphabetically for readability.
18+
reorder_modules = true # Do reorder mod declarations alphabetically for readability.
19+
struct_field_align_threshold = 8 # Vertically align struct fields
20+
tab_spaces = 4 # Use 4 spaces for indentation (Rust default).
21+
unstable_features = false # Do not use unstable rustfmt features.
22+
use_small_heuristics = "Max" # Set all granular width settings to the same as max_width (do not use heuristics)
23+
wrap_comments = false # Leave comment formatting to author's discretion

0 commit comments

Comments
 (0)