Add project files.
This commit is contained in:
4
.github/FUNDING.yml
vendored
Normal file
4
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: miroiu
|
||||
custom: ["https://www.buymeacoffee.com/miroiu", "https://paypal.me/miroiuemanuel"]
|
||||
17
.github/ISSUE_TEMPLATE/add_example_app.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/add_example_app.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: "\U0001F680 Example application"
|
||||
about: Suggest an example application that others can benefit from
|
||||
title: "[Application]"
|
||||
labels: application
|
||||
assignees: miroiu
|
||||
|
||||
---
|
||||
|
||||
**Describe the application**
|
||||
A clear and concise description of what the application is doing.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots.
|
||||
|
||||
**Additional context**
|
||||
Add any other context here.
|
||||
10
.github/ISSUE_TEMPLATE/ask-a-question.md
vendored
Normal file
10
.github/ISSUE_TEMPLATE/ask-a-question.md
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: "❓ Ask a question"
|
||||
about: Need help or have a question?
|
||||
title: "[Question]"
|
||||
labels: question
|
||||
assignees: miroiu
|
||||
|
||||
---
|
||||
|
||||
|
||||
30
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
30
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
---
|
||||
name: "\U0001F41B Bug report"
|
||||
about: Create a bug report to help this project improve
|
||||
title: "[Bug]"
|
||||
labels: bug
|
||||
assignees: miroiu
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Hi!
|
||||
|
||||
All fields are optional and are present only to guide you.
|
||||
Thanks for contributing!
|
||||
-->
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior.
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: 📝 Read the docs
|
||||
url: https://github.com/miroiu/nodify/wiki
|
||||
about: Be sure you've read the docs!
|
||||
17
.github/ISSUE_TEMPLATE/documentation.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/documentation.md
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: 📖 Documentation
|
||||
about: Report an issue related to documentation
|
||||
title: "[Docs]"
|
||||
labels: documentation
|
||||
assignees: miroiu
|
||||
|
||||
---
|
||||
|
||||
**Describe the issue**
|
||||
A clear and concise description of what the issue is.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots.
|
||||
|
||||
**Additional context**
|
||||
Add any other context here.
|
||||
27
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
27
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
name: "⭐️ Feature request"
|
||||
about: Submit a request or a proposal for this project
|
||||
title: "[Feature]"
|
||||
labels: enhancement
|
||||
assignees: miroiu
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Hi!
|
||||
|
||||
All fields are optional and are present only to guide you.
|
||||
Thanks for contributing!
|
||||
-->
|
||||
|
||||
**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.
|
||||
22
.github/workflows/build.yml
vendored
Normal file
22
.github/workflows/build.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["master", "release-v*"]
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: "9.0.x"
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release
|
||||
49
.github/workflows/codeql-analysis.yml
vendored
Normal file
49
.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["master", "release-v*"]
|
||||
paths:
|
||||
- Nodify/**
|
||||
pull_request:
|
||||
branches: ["master", "release-v*"]
|
||||
schedule:
|
||||
- cron: "27 6 * * 2"
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze (${{ matrix.language }})
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
# required for all workflows
|
||||
security-events: write
|
||||
|
||||
# required to fetch internal or private CodeQL packs
|
||||
packages: read
|
||||
|
||||
# only required for workflows in private repositories
|
||||
actions: read
|
||||
contents: read
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- language: csharp
|
||||
build-mode: none
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
29
.github/workflows/create-release-branch.yml
vendored
Normal file
29
.github/workflows/create-release-branch.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: Create release branch
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*.0.0"
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Save tag version
|
||||
uses: little-core-labs/get-git-tag@v3.0.1
|
||||
id: tagName
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: "9.0.x"
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
- name: Create release branch
|
||||
uses: peterjgrainger/action-create-branch@v2.2.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
branch: release-${{ steps.tagName.outputs.tag }}
|
||||
24
.github/workflows/publish-package.yml
vendored
Normal file
24
.github/workflows/publish-package.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Publish package
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: windows-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup .NET Core
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: "9.0.x"
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
- name: Publish the package
|
||||
run: dotnet nuget push "*/bin/Release/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json
|
||||
22
.github/workflows/sync-docs.yml
vendored
Normal file
22
.github/workflows/sync-docs.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "docs/**"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
job-sync-docs-to-wiki:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v2
|
||||
- name: Sync docs to wiki
|
||||
uses: newrelic/wiki-sync-action@main
|
||||
with:
|
||||
source: docs
|
||||
destination: wiki
|
||||
token: ${{ secrets.DOCS_TOKEN }}
|
||||
Reference in New Issue
Block a user