Skip to content

Commit 67482c0

Browse files
devlooped-botkzu
authored andcommitted
⬆️ Bump files with dotnet-file sync
# devlooped/oss - Add techdebt label to excludes from release config devlooped/oss@1afd173 - Ignore docs merges too devlooped/oss@055a8b7 - Add specific skip rules for tests devlooped/oss@448cf45 - Update .editorconfig devlooped/oss@2981836 - Update .gitignore with JetBrains private folder devlooped/oss@9dff0bd - Ignore test analyzer rules recursively. devlooped/oss@fd5b554 - Ignore app root folder too devlooped/oss@b87a8a7 - Automatically build from dev/* branches too devlooped/oss@6d3dd85 - Drop net6 forced install, it's built-in all agents now devlooped/oss@34c1bf6 - Drop net6 setup on prior to dotnet format devlooped/oss@4b31891 - Remove limitation on matrix os for sleet publishing devlooped/oss@7e3288c - Use a better CI version number devlooped/oss@1ec6385 - Don't run analyzers/codefixers in format devlooped/oss@543f7da - Remove duplicate community files and unused stuff devlooped/oss@a4b66eb - Switch to old nuget.config for package sources devlooped/oss@c6f74ce - Enable C# compiler strict mode by default devlooped/oss@ef8e7fa - Don't fail on background workflows devlooped/oss@f08c3f2 - Only override VersionPrefix if it has no value devlooped/oss@28a27ba - Allow extending build with local-only files devlooped/oss@6ae80a1 - Drop net6 setup on publish too devlooped/oss@d302256 - Fix incremental build issue with package files and doc file devlooped/oss@96b6773 - Invert order of sources in mapping devlooped/oss@8b4ce81 - Fix mapping sources devlooped/oss@b2fa09b - Fix action repo name devlooped/oss@ac753b7 - Add attribution to upstream and note on regex devlooped/oss@c161088 # devlooped/.github - Keep only officially supported community files devlooped/.github@c97cdeb - Add contributing guidelines devlooped/.github@1dc5908
1 parent cda1865 commit 67482c0

24 files changed

Lines changed: 192 additions & 307 deletions

.editorconfig

Lines changed: 14 additions & 0 deletions
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
@@ -88,5 +94,13 @@ csharp_new_line_before_finally = true
8894
csharp_new_line_before_members_in_object_initializers = true
8995
csharp_new_line_before_members_in_anonymous_types = true
9096

97+
# Test settings
98+
[**/*Tests*/**{.cs,.vb}]
9199
# xUnit1013: Public method should be marked as test. Allows using records as test classes
92100
dotnet_diagnostic.xUnit1013.severity = none
101+
102+
# Default severity for analyzer diagnostics with category 'Style'
103+
dotnet_analyzer_diagnostic.category-Style.severity = none
104+
105+
# VSTHRD200: Use "Async" suffix for async methods
106+
dotnet_diagnostic.VSTHRD200.severity = none
File renamed without changes.

.github/CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing
2+
3+
You can contribute to the project with issues and PRs.
4+
Simply filing issues for problems you encounter is a great way to contribute. Contributing implementations is greatly appreciated.
5+
6+
## Before you file a bug...
7+
* Is this a question, or are you looking for help? Ask it in the project's **Discussions** tab instead, if available.
8+
9+
* Did you search the issues list to see if someone already reported it? _When looking for duplicates, make sure to look through open **and** closed issues._
10+
* Did you create a simple repro for the problem? _We won't look at your bug until you provide a repro project or complete repro steps._
11+
12+
## Before you submit a PR...
13+
14+
* Did you ensure there is a corresponding issue labelled as 🟢 help wanted?
15+
If not, please open one to start the discussion.
16+
* Does the code follow existing coding styles? (spaces, comments, no regions, etc.)?
17+
We enforce the basic styles by running `dotnet format` on the repository root.
18+
You can do the same before submitting a PR to speed up the process.
19+
* Did you write unit tests?
20+
Typically required if there are other unit tests for existing or related code.
21+
22+
## Looking for something to work on?
23+
24+
Look at the repo issues labelled as 🟢 help wanted and 🟣 good first issue to find
25+
something to contribute!
26+
27+
# Contributor License Agreement
28+
29+
You must sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/devlooped/) before your PR will be merged.
30+
This is a one-time requirement for projects in the Devlooped organization.
31+
You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on Wikipedia.
32+
33+
You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual.
34+
When your pull-request is created, it is classified by a CLA bot, which will let
35+
you know if signing is pending.

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 0 additions & 50 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.

.github/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- bydesign
5+
- dependencies
6+
- duplicate
7+
- question
8+
- invalid
9+
- wontfix
10+
- need info
11+
- docs
12+
- techdebt
13+
authors:
14+
- devlooped-bot
15+
- dependabot
16+
- github-actions
17+
categories:
18+
- title: ✨ Implemented enhancements
19+
labels:
20+
- enhancement
21+
- title: 🐛 Fixed bugs
22+
labels:
23+
- bug
24+
- title: 📝 Documentation updates
25+
labels:
26+
- docs
27+
- title: 🔨 Other
28+
labels:
29+
- '*'
30+
exclude:
31+
labels:
32+
- dependencies

.github/workflows/build.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: build
55
on:
66
workflow_dispatch:
77
push:
8-
branches: [ main, dev, 'feature/*', 'rel/*' ]
8+
branches: [ main, dev, 'dev/*', 'feature/*', 'rel/*' ]
99
paths-ignore:
1010
- changelog.md
1111
- code-of-conduct.md
@@ -17,6 +17,8 @@ on:
1717

1818
env:
1919
DOTNET_NOLOGO: true
20+
VersionPrefix: 42.42.${{ github.run_number }}
21+
VersionLabel: ${{ github.ref }}
2022

2123
defaults:
2224
run:
@@ -53,14 +55,8 @@ jobs:
5355
submodules: recursive
5456
fetch-depth: 0
5557

56-
- name: ⚙ dotnet
57-
uses: actions/setup-dotnet@v1
58-
if: matrix.os != 'windows-latest'
59-
with:
60-
dotnet-version: '6.0.x'
61-
6258
- name: 🙏 build
63-
run: dotnet build -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
59+
run: dotnet build -m:1
6460

6561
- name: ⚙ GNU grep
6662
if: matrix.os == 'macOS-latest'
@@ -72,13 +68,13 @@ jobs:
7268
uses: ./.github/workflows/test
7369

7470
- name: 📦 pack
75-
run: dotnet pack -m:1 -p:VersionLabel="$GITHUB_REF.$GITHUB_RUN_NUMBER"
71+
run: dotnet pack -m:1
7672

7773
# Only push CI package to sleet feed if building on ubuntu (fastest)
7874
- name: 🚀 sleet
7975
env:
8076
SLEET_CONNECTION: ${{ secrets.SLEET_CONNECTION }}
81-
if: matrix.os == 'ubuntu-latest' && env.SLEET_CONNECTION != ''
77+
if: env.SLEET_CONNECTION != ''
8278
run: |
8379
dotnet tool install -g --version 4.0.18 sleet
8480
sleet push bin --config none -f --verbose -p "SLEET_FEED_CONTAINER=nuget" -p "SLEET_FEED_CONNECTIONSTRING=${{ secrets.SLEET_CONNECTION }}" -p "SLEET_FEED_TYPE=azure" || echo "No packages found"
@@ -93,10 +89,7 @@ jobs:
9389
submodules: recursive
9490
fetch-depth: 0
9591

96-
- name: ⚙ dotnet
97-
uses: actions/setup-dotnet@v1
98-
with:
99-
dotnet-version: '6.0.x'
100-
10192
- name: ✓ ensure format
102-
run: dotnet format --verify-no-changes -v:diag --exclude ~/.nuget
93+
run: |
94+
dotnet format whitespace --verify-no-changes -v:diag --exclude ~/.nuget
95+
dotnet format style --verify-no-changes -v:diag --exclude ~/.nuget
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
usernames-as-github-logins=true
22
issues_wo_labels=true
33
pr_wo_labels=true
4-
exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info
4+
exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info,docs
55
enhancement-label=:sparkles: Implemented enhancements:
66
bugs-label=:bug: Fixed bugs:
77
issues-label=:hammer: Other:

.github/workflows/changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: ⚙ changelog
3232
run: |
3333
gem install github_changelog_generator
34-
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator
34+
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config
3535
3636
- name: 🚀 changelog
3737
run: |

0 commit comments

Comments
 (0)