-
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.
- Loading branch information
0 parents
commit 55e18f7
Showing
108 changed files
with
7,381 additions
and
0 deletions.
There are no files selected for viewing
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 @@ | ||
# EditorConfig is awesome: https://EditorConfig.org | ||
|
||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = false | ||
insert_final_newline = 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 @@ | ||
* text=auto eol=lf |
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,39 @@ | ||
name: Bug Report | ||
description: File a bug report | ||
labels: ["bug", "triage"] | ||
body: | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Version | ||
description: What version of Naprise are you running? | ||
placeholder: 1.0.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: platform | ||
attributes: | ||
label: Platform | ||
description: What .NET version and operating system are you running on? | ||
placeholder: .NET 6 on Windows 10 and Ubuntu 20.04 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected Behavior | ||
description: What you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: current-behavior | ||
attributes: | ||
label: Current Behavior | ||
description: What is happening. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: extra-info | ||
attributes: | ||
label: Extra Info | ||
description: 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,30 @@ | ||
name: Feature Request | ||
description: Suggest an idea | ||
labels: ["enhancement", "triage"] | ||
body: | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: What the problem is. Ex. I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Proposed Solution | ||
description: What you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Alternatives | ||
description: Any alternative solutions or features you've considered. | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: extra-info | ||
attributes: | ||
label: Extra Info | ||
description: Add any other context 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,6 @@ | ||
--- | ||
name: Question | ||
about: Ask a question about Naprise | ||
title: '' | ||
labels: 'question' | ||
--- |
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,44 @@ | ||
name: Service Request | ||
description: Request a new notification service | ||
title: "Add New Service: " | ||
labels: ["service-request", "up for grabs", "good first issue", "help wanted"] | ||
body: | ||
- type: input | ||
id: name | ||
attributes: | ||
label: Name | ||
description: What is the name of the service? | ||
placeholder: "Discord" | ||
validations: | ||
required: true | ||
- type: input | ||
id: url | ||
attributes: | ||
label: Homepage | ||
description: What is the URL of the service? | ||
placeholder: "https://discord.com" | ||
validations: | ||
required: true | ||
- type: input | ||
id: api-docs | ||
attributes: | ||
label: API Documentation | ||
description: What is the URL of the service's API documentation? | ||
placeholder: "https://discord.com/developers/docs/resources/webhook#execute-webhook" | ||
validations: | ||
required: true | ||
- type: dropdown | ||
id: contribution | ||
attributes: | ||
label: Contribution | ||
description: Are you planning to contribute a PR for this service in the near future? | ||
options: | ||
- "I'm planning to contribute a PR in the near future" | ||
- "I'm not planning to contribute a PR in the near future" | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: extra-info | ||
attributes: | ||
label: Extra Info | ||
description: Add any other context about the service 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,38 @@ | ||
name: Build & Publish | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
env: | ||
DOTNET_NOLOGO: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Install .NET 7 | ||
uses: actions/setup-dotnet@v3 | ||
with: | ||
dotnet-version: '7' | ||
|
||
- name: Build, Test, Pack, Publish | ||
shell: bash | ||
run: | | ||
dotnet tool install -g dotnet-releaser | ||
dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml | ||
- name: Upload build artifacts | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-artifacts | ||
path: src/artifacts-dotnet-releaser |
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,46 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ 'main' ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ 'main' ] | ||
schedule: | ||
- cron: '50 7 * * 6' | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
env: | ||
DOTNET_NOLOGO: true | ||
DOTNET_CLI_TELEMETRY_OPTOUT: true | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: false | ||
|
||
- uses: actions/setup-dotnet@v2 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: csharp | ||
queries: +security-extended | ||
|
||
- name: Build CLI | ||
run: dotnet build src | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:csharp" |
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 @@ | ||
name: Publish Docs | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- run: | | ||
cd docs | ||
pip3 install -r requirements.txt | ||
mkdocs gh-deploy --strict --force --no-history |
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: Update copyright year(s) in license file | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 3 1 1 *" | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: FantasticFiasco/action-update-license-year@v2 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
transform: (?<=copyright\s+(?:\(c\)|©)?\s*)(?<from>\d{4})(?:-\d{4})? | ||
path: | | ||
LICENSE | ||
src/Directory.Build.props | ||
docs/mkdocs.yml |
Oops, something went wrong.