-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
25 changed files
with
670 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# See https://help.github.com/articles/about-codeowners/ | ||
# for more info about CODEOWNERS file | ||
|
||
# It uses the same pattern rule for gitignore file | ||
# https://git-scm.com/docs/gitignore#_pattern_format | ||
|
||
# Any file | ||
* @Elskom/core-team | ||
# Any file under newsmake | ||
newsmake/* @Elskom/news-team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Contributing | ||
|
||
1. Before you open an issue read the [Code of Conduct](../CODE_OF_CONDUCT.md) first. | ||
This details what the expected behavior should be. | ||
|
||
2. Ensure the issue or pull request was not already suggested. | ||
However if the pull request needed reopened due to some issues in it it would be detailed. | ||
|
||
3. A pull request should not be opened until a issue is tracked on the issues tab. | ||
After that the pull request should reference the issue and when merge should automatically close it. | ||
|
||
4. This file could change at any time so be sure to read this every time you open a issue or pull request to stay up to date. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
patreon: Decorater |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. | ||
2. | ||
3. | ||
4. | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Actual behavior** | ||
The actual result. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Version used** | ||
The version affected by this issue (Can also be "master" for code in latest master branch but reference commit then if possible). | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Optimization request | ||
about: Suggest an optimization idea for this project. | ||
|
||
--- | ||
|
||
**Is your optimization request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the optimization request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Checklist | ||
|
||
- [ ] I have read the Code of Conduct and the Contributing files before opening this issue. | ||
- [ ] I have verified the issue this pull request fixes or feature this pull request implements is to the current release. | ||
- [ ] I am using the latest stable release with the above code fix or the current main branch if code changes are present (prerelease code changes). | ||
- [ ] I have debugged and tested my changes before submitting this issue and that everything should just work. | ||
|
||
## Describe the issue this fixes / feature this adds | ||
|
||
<!-- A brief description of what this fixes or what this adds should be here. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "nuget" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
queue_rules: | ||
- name: default | ||
conditions: | ||
- -conflict # skip PRs with conflicts | ||
- -draft # filter-out GH draft PRs | ||
- -closed # filter-out closed GH PRs | ||
- base=main | ||
- label=automerge | ||
- check-success=build | ||
- check-success=Codacy Static Code Analysis | ||
- check-success=DCO | ||
- check-success=WIP | ||
|
||
pull_request_rules: | ||
# for check failures / WIP pending check. | ||
- name: Add enhancement label | ||
conditions: | ||
- check-pending=build | ||
- -closed | ||
- -label=enhancement | ||
actions: | ||
label: | ||
add: | ||
- enhancement | ||
|
||
- name: Add automerge label | ||
conditions: | ||
- check-success=build | ||
- -draft | ||
- -closed | ||
- -conflict | ||
- -label=automerge | ||
- author~=^(AraHaan|CatGirlsAreLife|JunichiSama|xioke|Elskom-gitsync)$ | ||
actions: | ||
label: | ||
add: | ||
- automerge | ||
|
||
- name: Automatic message on build failure | ||
conditions: | ||
- check-failure=build | ||
- -draft | ||
- -closed | ||
actions: | ||
comment: | ||
message: | | ||
This PR's build has failed. Ensure it passes before they can be scheduled for automatic merge. | ||
- name: Automatic message on security failure | ||
conditions: | ||
- check-failure=Codacy Static Code Analysis | ||
- -draft | ||
- -closed | ||
actions: | ||
comment: | ||
message: | | ||
This PR's security check has failed. Ensure it passes before they can be scheduled for automatic merge. | ||
- name: Automatic message on signoff failure | ||
conditions: | ||
- check-failure=DCO | ||
- -draft | ||
- -closed | ||
actions: | ||
comment: | ||
message: | | ||
This PR does not add the DCO signoff. Ensure it does before they can be scheduled for automatic merge. | ||
To do that click the details link on the check below to find the steps to resolve this and then force push using ``git push --force`` after it has been completed. | ||
If the PR has multiple commits to simplify it you can also run ``git rebase -i HEAD~x`` where x is the number of commits inside of the PR, then in the interactive program that is opened to edit the data change every line under the first one that starts with ``pick`` to ``fixup`` then save and exit the program git opens, after that git will rebase them into each other and squashes them into a single commit where then you can run ``git commit --amend --signoff`` then force push. | ||
- name: Automatic message on WIP | ||
conditions: | ||
- check-pending=WIP | ||
- -draft | ||
- -closed | ||
actions: | ||
comment: | ||
message: This PR is WIP, when you complete the work remember to unset the WIP state in the title of this PR. | ||
|
||
- name: Automatic message on conflict | ||
conditions: | ||
- -draft | ||
- conflict | ||
actions: | ||
comment: | ||
message: | | ||
This PR is conflicted :sob:. | ||
- name: Automatic merge when automerge label added | ||
conditions: | ||
- -conflict # skip PRs with conflicts | ||
- -draft # filter-out GH draft PRs | ||
- -closed # filter-out closed GH PRs | ||
- base=main | ||
- label=automerge | ||
- check-success=build | ||
- check-success=Codacy Static Code Analysis | ||
- check-success=DCO | ||
- check-success=WIP | ||
actions: | ||
comment: | ||
message: This pull request is about to be automerged. | ||
review: | ||
type: APPROVE | ||
message: Automatically approving since automerge label was found. | ||
queue: | ||
name: default | ||
method: squash | ||
update_method: rebase | ||
|
||
- name: Remove automerge label | ||
conditions: | ||
- closed | ||
- label=automerge | ||
actions: | ||
label: | ||
remove: | ||
- automerge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: .NET Core (build) | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_NOLOGO: true | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | ||
BUILD_RERUN_COUNT: ${{ github.run_attempt }} | ||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Install latest .NET SDK | ||
uses: Elskom/setup-latest-dotnet@main | ||
|
||
- name: Restore, Build, and pack | ||
uses: Elskom/build-dotnet@main | ||
with: | ||
TEST: false | ||
PACK: true | ||
PUSH: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: .NET Core (build & publish release) | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_NOLOGO: true | ||
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | ||
BUILD_RERUN_COUNT: ${{ github.run_attempt }} | ||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Install latest .NET SDK | ||
uses: Elskom/setup-latest-dotnet@main | ||
|
||
- name: Restore, Build, and pack | ||
uses: Elskom/build-dotnet@main | ||
with: | ||
TEST: false | ||
PACK: true | ||
PUSH: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: .NET Core (build pull request) | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_NOLOGO: true | ||
BUILD_RERUN_COUNT: ${{ github.run_attempt }} | ||
steps: | ||
- uses: actions/checkout@main | ||
|
||
- name: Install latest .NET SDK | ||
uses: Elskom/setup-latest-dotnet@main | ||
|
||
- name: Restore, Build, and pack | ||
uses: Elskom/build-dotnet@main | ||
with: | ||
TEST: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.vs/ | ||
artifacts/ | ||
*.log | ||
bin | ||
obj | ||
# backup files stored on the users machine. | ||
*.bak | ||
# ignore rider bullshit files. | ||
.idea/ | ||
# not needed anymore, kept locally just in case however. | ||
XmlAbstraction/ | ||
*.binlog | ||
GitInfo.json | ||
|
||
# opening Finder on mac inside the repository creates these. | ||
.DS_Store | ||
*.user | ||
|
||
# exclude security scanning results. | ||
results.sarif | ||
|
||
# prevent build time generated props file from ever making it's way into the repository. | ||
Sdk/Sdk.Runtime.props |
Oops, something went wrong.