Skip to content

Commit

Permalink
⬆️ Bump files with dotnet-file sync
Browse files Browse the repository at this point in the history
# 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
- Ignore primary ctor parameter in tests, usually used for testoutput helper devlooped/oss@c779d3d
- Remove duplicate community files and unused stuff devlooped/oss@a4b66eb
- Don't fail on background workflows devlooped/oss@f08c3f2
- Switch to old nuget.config for package sources devlooped/oss@c6f74ce
- Enable C# compiler strict mode by default devlooped/oss@ef8e7fa
- 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
- When using EnableRexCodeGenerator, this should Just Work devlooped/oss@c7235d7
- Enable VSCode/Razor compat when using resxcode generator devlooped/oss@1514d15
- Invert order of sources in mapping devlooped/oss@8b4ce81
- Fix mapping sources devlooped/oss@b2fa09b
- Add attribution to upstream and note on regex devlooped/oss@c161088

# devlooped/.github
  • Loading branch information
devlooped-bot authored and kzu committed Jun 4, 2023
1 parent c6a5ea1 commit fdce89c
Show file tree
Hide file tree
Showing 22 changed files with 196 additions and 303 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ dotnet_style_require_accessibility_modifiers = omit_if_default:error
dotnet_diagnostic.IDE0040.severity = error

[*.cs]
# Top-level files are definitely OK
csharp_using_directive_placement = outside_namespace:silent
csharp_style_namespace_declarations = block_scoped:silent
csharp_prefer_simple_using_statement = true:suggestion
csharp_prefer_braces = true:silent

# Prefer "var" everywhere
csharp_style_var_for_built_in_types = true:suggestion
csharp_style_var_when_type_is_apparent = true:suggestion
Expand Down Expand Up @@ -88,5 +94,16 @@ csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true

# Test settings
[**/*Tests*/**{.cs,.vb}]
# xUnit1013: Public method should be marked as test. Allows using records as test classes
dotnet_diagnostic.xUnit1013.severity = none

# CS9113: Parameter is unread (usually, ITestOutputHelper)
dotnet_diagnostic.CS9113.severity = none

# Default severity for analyzer diagnostics with category 'Style'
dotnet_analyzer_diagnostic.category-Style.severity = none

# VSTHRD200: Use "Async" suffix for async methods
dotnet_diagnostic.VSTHRD200.severity = none
File renamed without changes.
35 changes: 35 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Contributing

You can contribute to the project with issues and PRs.
Simply filing issues for problems you encounter is a great way to contribute. Contributing implementations is greatly appreciated.

## Before you file a bug...
* Is this a question, or are you looking for help? Ask it in the project's **Discussions** tab instead, if available.

* 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._
* 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._

## Before you submit a PR...

* Did you ensure there is a corresponding issue labelled as 🟢 help wanted?
If not, please open one to start the discussion.
* Does the code follow existing coding styles? (spaces, comments, no regions, etc.)?
We enforce the basic styles by running `dotnet format` on the repository root.
You can do the same before submitting a PR to speed up the process.
* Did you write unit tests?
Typically required if there are other unit tests for existing or related code.

## Looking for something to work on?

Look at the repo issues labelled as 🟢 help wanted and 🟣 good first issue to find
something to contribute!

# Contributor License Agreement

You must sign the [Contribution License Agreement (CLA)](https://cla-assistant.io/devlooped/) before your PR will be merged.
This is a one-time requirement for projects in the Devlooped organization.
You can read more about [Contribution License Agreements (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) on Wikipedia.

You don't have to do this up-front. You can simply clone, fork, and submit your pull-request as usual.
When your pull-request is created, it is classified by a CLA bot, which will let
you know if signing is pending.
50 changes: 0 additions & 50 deletions .github/ISSUE_TEMPLATE/bug.md

This file was deleted.

File renamed without changes.
File renamed without changes.
32 changes: 32 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
changelog:
exclude:
labels:
- bydesign
- dependencies
- duplicate
- question
- invalid
- wontfix
- need info
- docs
- techdebt
authors:
- devlooped-bot
- dependabot
- github-actions
categories:
- title: ✨ Implemented enhancements
labels:
- enhancement
- title: 🐛 Fixed bugs
labels:
- bug
- title: 📝 Documentation updates
labels:
- docs
- title: 🔨 Other
labels:
- '*'
exclude:
labels:
- dependencies
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
usernames-as-github-logins=true
issues_wo_labels=true
pr_wo_labels=true
exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info
exclude-labels=bydesign,dependencies,duplicate,question,invalid,wontfix,need info,docs
enhancement-label=:sparkles: Implemented enhancements:
bugs-label=:bug: Fixed bugs:
issues-label=:hammer: Other:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: ⚙ changelog
run: |
gem install github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/.github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config
- name: 🚀 changelog
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/combine-prs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Source: https://github.com/hrvey/combine-prs-workflow
# Tweaks: regex support for branch

name: '⛙ combine-prs'

on:
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
const branch = pull['head']['ref'];
console.log('Pull for branch: ' + branch);
if (branchRegExp.test(branch)) {
console.log('Branch matched prefix: ' + branch);
console.log('Branch matched: ' + branch);
let statusOK = true;
if(${{ github.event.inputs.mustBeGreen }}) {
console.log('Checking green status: ' + branch);
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
jobs:
sync:
runs-on: windows-latest
continue-on-error: true
steps:
- name: 🤖 defaults
uses: devlooped/actions-bot@v1
Expand Down Expand Up @@ -69,8 +70,7 @@ jobs:
validate: false

- name: ✍ pull request
uses: peter-evans/create-pull-request@v3
continue-on-error: true
uses: peter-evans/create-pull-request@v4
with:
base: main
branch: dotnet-file-sync
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/includes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
token: ${{ env.GH_TOKEN }}

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

- name: ✍ pull request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@v4
with:
base: main
branch: markdown-includes
Expand Down
58 changes: 0 additions & 58 deletions .github/workflows/pages.yml

This file was deleted.

23 changes: 1 addition & 22 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,6 @@ jobs:
submodules: recursive
fetch-depth: 0

- name: ⚙ dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'

- name: ⏬ download
run: |
mkdir obj
curl https://download-chromium.appspot.com/dl/Win_x64?type=snapshots -L -o obj/win-x64.zip
unzip obj/win-x64.zip -d src/chromium.win-x64
echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Win_x64?type=snapshots | grep -oP "\d{6,}") > src/chromium.win-x64/readme.md
curl https://download-chromium.appspot.com/dl/Win?type=snapshots -L -o obj/win-x86.zip
unzip obj/win-x86.zip -d src/chromium.win-x86
echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Win?type=snapshots | grep -oP "\d{6,}") > src/chromium.win-x86/readme.md
curl https://download-chromium.appspot.com/dl/Linux_x64?type=snapshots -L -o obj/linux-x64.zip
unzip obj/linux-x64.zip -d src/chromium.linux-x64
echo Chromium build https://crrev.com/$(curl --silent https://download-chromium.appspot.com/rev/Linux_x64?type=snapshots | grep -oP "\d{6,}") > src/chromium.linux-x64/readme.md
- name: 🙏 build
run: dotnet build -m:1 -p:version=${GITHUB_REF#refs/*/v}

Expand All @@ -52,4 +31,4 @@ jobs:
run: dotnet pack -m:1 -p:version=${GITHUB_REF#refs/*/v}

- name: 🚀 nuget
run: dotnet nuget push ./bin/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
run: dotnet nuget push ./bin/**/*.nupkg -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}} --skip-duplicate
61 changes: 0 additions & 61 deletions .github/workflows/release-notes.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/sponsor.yml

This file was deleted.

Loading

0 comments on commit fdce89c

Please sign in to comment.