Skip to content

Commit b6e2820

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Add copylocal behavior when merging assemblies devlooped/oss@7cda4a1 - Add our implementation of JWT manifest reading and reporting devlooped/oss@a0ae727 - Add nullable and generated code annotations devlooped/oss@b2a11fa - Integrate more seamlessly with the existing workflows devlooped/oss@e732f6a - Simplify and unify manifest reading implementation devlooped/oss@4fca946 - Whitespace and formatting devlooped/oss@d74f511 - Minimal docs on consuming devlooped/oss@827a1d1 - Update .editorconfig devlooped/oss@2981836 - Ignore test analyzer rules recursively. devlooped/oss@fd5b554 - Ignore primary ctor parameter in tests, usually used for testoutput helper devlooped/oss@c779d3d - Update dependabot.yml with some default groupings devlooped/oss@cba10bb - Add System.IdentityModel group devlooped/oss@e7d18ae - Add MS.IdentityModel to identity group devlooped/oss@14d1868 - Exclude System.IdentityModel from System group devlooped/oss@35ca3f3 - Fix dependabot group for tests devlooped/oss@49661db - Use a better CI version number devlooped/oss@1ec6385 - Don't run analyzers/codefixers in format devlooped/oss@543f7da - Parallelize format to speed up build devlooped/oss@13d67e2 - Ignore sponsorlink sources in formatting devlooped/oss@f571a42 - Make sure build runs before pack devlooped/oss@ede013a - Switch to PackOnBuild=true and remove pack step devlooped/oss@6e7a3ab - Upload binlog artifact on debug runs devlooped/oss@a67ae78 - Set env:gh_token if present as secret devlooped/oss@97ebd18 - Update to checkout@v4 devlooped/oss@5fb1723 - Update dotnet-file.yml with fix to create pull request action devlooped/oss@11a331d - Don't add random wait on manual dotnet-file runs devlooped/oss@7afe350 - Update .gitignore with JetBrains private folder devlooped/oss@9dff0bd - Ignore app root folder too devlooped/oss@b87a8a7 - Add .sass-cache to ignores devlooped/oss@d65f9c7 - Move .sass-cache down alongside other jekyll folders devlooped/oss@551d4e0 - Ignore azure functions local settings devlooped/oss@4bd7025 - Update .gitignore with BenchmarkDotNet artifacts default path devlooped/oss@e20e906 - Remove whitespace and add results to ignore devlooped/oss@ef852e7 - Only ignore App folder directly under the root devlooped/oss@02811fa - Only override VersionPrefix if it has no value devlooped/oss@28a27ba - Allow extending build with local-only files devlooped/oss@6ae80a1 - Honor the PackReadme=false property devlooped/oss@1bf1eac - NoTargets/Traversal SDKs now support central package versions too devlooped/oss@afca922 - Enable floating versions for central packages by default devlooped/oss@b1d14c6 - Add static usings to allow unprefixed ThrowXxxx devlooped/oss@6dfe21f - Add compatibility for non-SDK projects without InitializeSourceControlInformation target devlooped/oss@6e96c59 - Fix incremental build issue with package files and doc file devlooped/oss@96b6773 - When using EnableRexCodeGenerator, this should Just Work devlooped/oss@c7235d7 - Enable VSCode/Razor compat when using resxcode generator devlooped/oss@1514d15 - Append missing trailing path to directory for icon/readme devlooped/oss@5cec43d - Add common sponsors metadata to assemblies devlooped/oss@0789bf0 - Update assembly metadata format for Funding.GitHub devlooped/oss@5801de0 - SponsorLink metadata will be opt-in only by analyzer projects devlooped/oss@c618ea8 - Fix action repo name devlooped/oss@ac753b7 - Bump create-pr dependency to avoid error with existing PRs devlooped/oss@11a8757 - Only commit markdown files when resolving includes devlooped/oss@2c10a83 - Add attribution to upstream and note on regex devlooped/oss@c161088 - Note docs updates separately, always ignore dependencies devlooped/oss@42bfdd2 - Add techdebt label to excludes from release config devlooped/oss@1afd173 # clarius/pages - Run bundle install as sudo to avoid errors clarius/pages@afcb042
1 parent 4a39aa1 commit b6e2820

51 files changed

Lines changed: 2745 additions & 65 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error
5858
dotnet_diagnostic.IDE0040.severity = error
5959

6060
[*.cs]
61+
# Top-level files are definitely OK
62+
csharp_using_directive_placement = outside_namespace:silent
63+
csharp_style_namespace_declarations = block_scoped:silent
64+
csharp_prefer_simple_using_statement = true:suggestion
65+
csharp_prefer_braces = true:silent
66+
6167
# Prefer "var" everywhere
6268
csharp_style_var_for_built_in_types = true:suggestion
6369
csharp_style_var_when_type_is_apparent = true:suggestion
@@ -89,9 +95,18 @@ csharp_new_line_before_members_in_object_initializers = true
8995
csharp_new_line_before_members_in_anonymous_types = true
9096

9197
# Test settings
92-
[**/*Tests*/*{.cs,.vb}]
98+
[**/*Tests*/**{.cs,.vb}]
9399
# xUnit1013: Public method should be marked as test. Allows using records as test classes
94100
dotnet_diagnostic.xUnit1013.severity = none
95101

102+
# CS9113: Parameter is unread (usually, ITestOutputHelper)
103+
dotnet_diagnostic.CS9113.severity = none
104+
105+
# Default severity for analyzer diagnostics with category 'Style'
106+
dotnet_analyzer_diagnostic.category-Style.severity = none
107+
96108
# VSTHRD200: Use "Async" suffix for async methods
97109
dotnet_diagnostic.VSTHRD200.severity = none
110+
111+
[**/*SponsorLink*/**]
112+
generated_code = true

.github/dependabot.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,34 @@ updates:
77
directory: /
88
schedule:
99
interval: daily
10+
groups:
11+
Azure:
12+
patterns:
13+
- "Azure*"
14+
- "Microsoft.Azure*"
15+
Identity:
16+
patterns:
17+
- "System.IdentityModel*"
18+
- "Microsoft.IdentityModel*"
19+
System:
20+
patterns:
21+
- "System*"
22+
exclude-patterns:
23+
- "System.IdentityModel*"
24+
Extensions:
25+
patterns:
26+
- "Microsoft.Extensions*"
27+
Web:
28+
patterns:
29+
- "Microsoft.AspNetCore*"
30+
Tests:
31+
patterns:
32+
- "Microsoft.NET.Test*"
33+
- "xunit*"
34+
- "coverlet*"
35+
ThisAssembly:
36+
patterns:
37+
- "ThisAssembly*"
38+
ProtoBuf:
39+
patterns:
40+
- "protobuf-*"

.github/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ changelog:
99
- wontfix
1010
- need info
1111
- docs
12+
- techdebt
1213
authors:
1314
- devlooped-bot
1415
- dependabot
@@ -20,6 +21,12 @@ changelog:
2021
- title: 🐛 Fixed bugs
2122
labels:
2223
- bug
24+
- title: 📝 Documentation updates
25+
labels:
26+
- docs
2327
- title: 🔨 Other
2428
labels:
2529
- '*'
30+
exclude:
31+
labels:
32+
- dependencies

.github/workflows/build.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@ on:
1717

1818
env:
1919
DOTNET_NOLOGO: true
20-
20+
VersionPrefix: 42.42.${{ github.run_number }}
21+
VersionLabel: ${{ github.ref }}
22+
PackOnBuild: true
23+
GeneratePackageOnBuild: true
24+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
25+
2126
defaults:
2227
run:
2328
shell: bash
@@ -29,7 +34,7 @@ jobs:
2934
matrix: ${{ steps.lookup.outputs.matrix }}
3035
steps:
3136
- name: 🤘 checkout
32-
uses: actions/checkout@v2
37+
uses: actions/checkout@v4
3338

3439
- name: 🔎 lookup
3540
id: lookup
@@ -48,13 +53,13 @@ jobs:
4853
os: ${{ fromJSON(needs.os-matrix.outputs.matrix) }}
4954
steps:
5055
- name: 🤘 checkout
51-
uses: actions/checkout@v2
56+
uses: actions/checkout@v4
5257
with:
5358
submodules: recursive
5459
fetch-depth: 0
5560

5661
- name: 🙏 build
57-
run: dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
62+
run: dotnet build -m:1 -bl:build.binlog
5863

5964
- name: ⚙ GNU grep
6065
if: matrix.os == 'macOS-latest'
@@ -65,8 +70,12 @@ jobs:
6570
- name: 🧪 test
6671
uses: ./.github/workflows/test
6772

68-
- name: 📦 pack
69-
run: dotnet pack -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
73+
- name: 🐛 logs
74+
uses: actions/upload-artifact@v3
75+
if: runner.debug && always()
76+
with:
77+
name: logs
78+
path: '*.binlog'
7079

7180
# Only push CI package to sleet feed if building on ubuntu (fastest)
7281
- name: 🚀 sleet
@@ -79,13 +88,14 @@ jobs:
7988
8089
dotnet-format:
8190
runs-on: ubuntu-latest
82-
needs: build
8391
steps:
8492
- name: 🤘 checkout
85-
uses: actions/checkout@v2
93+
uses: actions/checkout@v4
8694
with:
8795
submodules: recursive
8896
fetch-depth: 0
8997

9098
- name: ✓ ensure format
91-
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget
99+
run: |
100+
dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
101+
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
github_token: ${{ secrets.GITHUB_TOKEN }}
1818

1919
- name: 🤘 checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
2323
ref: main

.github/workflows/combine-prs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Source: https://github.com/hrvey/combine-prs-workflow
2+
# Tweaks: regex support for branch
3+
14
name: '⛙ combine-prs'
25

36
on:
@@ -45,7 +48,7 @@ jobs:
4548
const branch = pull['head']['ref'];
4649
console.log('Pull for branch: ' + branch);
4750
if (branchRegExp.test(branch)) {
48-
console.log('Branch matched prefix: ' + branch);
51+
console.log('Branch matched: ' + branch);
4952
let statusOK = true;
5053
if(${{ github.event.inputs.mustBeGreen }}) {
5154
console.log('Checking green status: ' + branch);

.github/workflows/dotnet-file.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,15 @@ jobs:
2424
github_token: ${{ secrets.GITHUB_TOKEN }}
2525

2626
- name: 🤘 checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2828
with:
2929
fetch-depth: 0
3030
ref: main
3131
token: ${{ env.GH_TOKEN }}
3232

3333
- name: ⌛ rate
3434
shell: pwsh
35+
if: github.event_name != 'workflow_dispatch'
3536
run: |
3637
# add random sleep since we run on fixed schedule
3738
sleep (get-random -max 60)
@@ -70,7 +71,7 @@ jobs:
7071
validate: false
7172

7273
- name: ✍ pull request
73-
uses: peter-evans/create-pull-request@v4
74+
uses: peter-evans/create-pull-request@v6
7475
with:
7576
base: main
7677
branch: dotnet-file-sync

.github/workflows/includes.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,17 @@ jobs:
2121
github_token: ${{ secrets.GITHUB_TOKEN }}
2222

2323
- name: 🤘 checkout
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525
with:
2626
token: ${{ env.GH_TOKEN }}
2727

2828
- name: +Mᐁ includes
29-
uses: devlooped/actions-include@v1
29+
uses: devlooped/actions-includes@v1
3030

3131
- name: ✍ pull request
32-
uses: peter-evans/create-pull-request@v4
32+
uses: peter-evans/create-pull-request@v6
3333
with:
34+
add-paths: '**/*.md'
3435
base: main
3536
branch: markdown-includes
3637
delete-branch: true

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: ⚙ jekyll
4848
run: |
4949
sudo gem install bundler
50-
bundle install
50+
sudo bundle install
5151
5252
- name: 🖉 default repo
5353
if: env.PAGES_REPOSITORY == ''

.github/workflows/publish.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,32 @@ on:
1010
env:
1111
DOTNET_NOLOGO: true
1212
Configuration: Release
13-
13+
PackOnBuild: true
14+
GeneratePackageOnBuild: true
15+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
16+
1417
jobs:
1518
publish:
1619
runs-on: ubuntu-latest
1720
steps:
1821
- name: 🤘 checkout
19-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2023
with:
2124
submodules: recursive
2225
fetch-depth: 0
2326

2427
- name: 🙏 build
25-
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}
28+
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v} -bl:build.binlog
2629

2730
- name: 🧪 test
2831
uses: ./.github/workflows/test
2932

30-
- name: 📦 pack
31-
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v}
33+
- name: 🐛 logs
34+
uses: actions/upload-artifact@v3
35+
if: runner.debug && always()
36+
with:
37+
name: logs
38+
path: '*.binlog'
3239

3340
- name: 🚀 nuget
3441
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate

0 commit comments

Comments
 (0)