Skip to content

Commit 7d3e27f

Browse files
committed
Initial Commit.
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
0 parents  commit 7d3e27f

23 files changed

+1162
-0
lines changed

.github/CONTRIBUTING.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Contributing
2+
3+
1. Before you open an issue read the [Code of Conduct](../CODE_OF_CONDUCT.md) first.
4+
This details what the expected behavior should be.
5+
2. Ensure the issue or pull request was not already suggested.
6+
However if the pull request needed reopened due to some issues in it it would be detailed.
7+
3. A pull request should not be opened until a issue is tracked on the issues tab.
8+
After that the pull request should reference the issue and when merge should automatically close it.
9+
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.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
# Issue Details
8+
<!-- Removing the file heading or erasing any of the below without filling them in may result in the issue being closed without any response or even closed as invalid. -->
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
16+
1. Step 1.
17+
2. Step 2.
18+
3. Step 3.
19+
4. Any other steps.
20+
21+
**Expected behavior**
22+
A clear and concise description of what you expected to happen.
23+
24+
**Actual behavior**
25+
The actual result.
26+
27+
**Screenshots**
28+
If applicable, add screenshots to help explain your problem.
29+
30+
**Version used**
31+
The version affected by this issue (Can also be "main" for code in latest main branch but reference commit then if possible).
32+
33+
**Additional context**
34+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
# Issue Details
8+
<!-- Removing the file heading or erasing any of the below without filling them in may result in the issue being closed without any response or even closed as invalid. -->
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Optimization request
3+
about: Suggest an optimization idea for this project.
4+
5+
---
6+
7+
# Issue Details
8+
<!-- Removing the file heading or erasing any of the below without filling them in may result in the issue being closed without any response or even closed as invalid. -->
9+
10+
**Is your optimization request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the optimization request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Checklist
2+
3+
- [ ] I have read the Code of Conduct and the Contributing files before opening this issue.
4+
- [ ] I have verified the issue this pull request fixes or feature this pull request implements is to the current release.
5+
- [ ] 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).
6+
- [ ] I have debugged and tested my changes before submitting this issue and that everything should just work.
7+
8+
## Describe the issue this fixes / feature this adds
9+
10+
<!-- A brief description of what this fixes or what this adds should be here. -->

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
# Maintain dependencies for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "daily"
13+
14+
- package-ecosystem: "nuget"
15+
directory: "/"
16+
schedule:
17+
interval: "daily"

.github/workflows/automerge.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: automerge
2+
on:
3+
pull_request:
4+
types:
5+
- labeled
6+
# - unlabeled
7+
# - synchronize
8+
# - opened
9+
# - edited
10+
# - ready_for_review
11+
# - reopened
12+
# - unlocked
13+
# pull_request_review:
14+
# types:
15+
# - submitted
16+
# check_suite:
17+
# types:
18+
# - completed
19+
status: {}
20+
jobs:
21+
automerge:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: automerge
25+
continue-on-error: true
26+
uses: "pascalgn/automerge-action@v0.13.1"
27+
env:
28+
# to get workflow invokes after merge.
29+
GITHUB_TOKEN: "${{ secrets.GITSYNC_TOKEN }}"
30+
MERGE_REMOVE_LABELS: "automerge"
31+
MERGE_METHOD: "rebase"
32+
MERGE_RETRIES: "6"
33+
MERGE_RETRY_SLEEP: "10000"
34+
UPDATE_METHOD: "rebase"
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: .NET Core (build)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
env:
11+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
12+
DOTNET_CLI_TELEMETRY_OPTOUT: true
13+
DOTNET_NOLOGO: true
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: .NET core build
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: 6.0.100-preview.2.21155.3
20+
- name: Restore
21+
run: dotnet restore
22+
shell: bash
23+
24+
- name: Build with dotnet
25+
run: |
26+
dotnet build --configuration Release --no-restore
27+
dotnet pack --configuration Release --no-build
28+
shell: bash
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: .NET Core (build & publish release)
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
env:
12+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
13+
DOTNET_CLI_TELEMETRY_OPTOUT: true
14+
DOTNET_NOLOGO: true
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: .NET core build
18+
uses: actions/setup-dotnet@v1
19+
with:
20+
dotnet-version: 6.0.100-preview.2.21155.3
21+
- name: Restore
22+
run: dotnet restore
23+
shell: bash
24+
25+
- name: Build with dotnet
26+
run: |
27+
dotnet build --configuration Release --no-restore
28+
dotnet pack --configuration Release --no-build
29+
shell: bash
30+
31+
- name: Publish Release
32+
id: publish_nuget
33+
uses: rohith/publish-nuget@v2
34+
with:
35+
# Filepath of the project to be packaged, relative to root of repository
36+
PROJECT_FILE_PATH: PublishRefAssemblies.Sdk/PublishRefAssemblies.Sdk.csproj
37+
# Flag to toggle git tagging, enabled by default
38+
TAG_COMMIT: false
39+
# API key to authenticate with NuGet server
40+
NUGET_KEY: ${{ secrets.NUGET_API_KEY }}
41+
INCLUDE_SYMBOLS: false

.github/workflows/dotnetcore.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: .NET Core (build pull request)
2+
3+
on: [pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
env:
9+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
10+
DOTNET_CLI_TELEMETRY_OPTOUT: true
11+
DOTNET_NOLOGO: true
12+
steps:
13+
- uses: actions-ecosystem/action-remove-labels@v1.1.0
14+
continue-on-error: true
15+
with:
16+
github_token: ${{ secrets.GITHUB_TOKEN }}
17+
labels: |
18+
enhancement
19+
automerge
20+
21+
- uses: actions/checkout@v2
22+
- name: .NET core build
23+
uses: actions/setup-dotnet@v1
24+
with:
25+
dotnet-version: 6.0.100-preview.2.21155.3
26+
- name: Restore
27+
run: |
28+
dotnet nuget add source "https://api.nuget.org/v3/index.json" --name "nuget.org"
29+
dotnet restore
30+
shell: bash
31+
32+
- name: Build with dotnet
33+
run: |
34+
dotnet build --configuration Release --no-restore
35+
dotnet pack --configuration Release --no-build
36+
shell: bash
37+
38+
- uses: hmarr/auto-approve-action@v2.1.0
39+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'AraHaan' || github.actor == 'CatGirlsAreLife' || github.actor == 'Raitou' || github.actor == 'JunichiSama' || github.actor == 'xioke' || github.actor == 'Elskom-gitsync'
40+
with:
41+
# I think this must stay the same.
42+
github-token: "${{ secrets.GITHUB_TOKEN }}"
43+
- uses: actions-ecosystem/action-add-labels@v1
44+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'AraHaan' || github.actor == 'CatGirlsAreLife' || github.actor == 'Raitou' || github.actor == 'JunichiSama' || github.actor == 'xioke' || github.actor == 'Elskom-gitsync'
45+
with:
46+
github_token: ${{ secrets.GITSYNC_TOKEN }}
47+
labels: |
48+
enhancement
49+
automerge

0 commit comments

Comments
 (0)