Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug report
description: Something does not work as documented.
labels:
- bug
body:
- type: markdown
attributes:
value: |
Thanks for the report. Security issues must not be filed here — use the repository's **Security** tab → **Report a vulnerability**.
- type: input
id: package
attributes:
label: Package and version
placeholder: DragoAnt.Example 1.2.3
validations:
required: true
- type: input
id: runtime
attributes:
label: Target framework and OS
placeholder: net9.0 on Ubuntu 24.04
validations:
required: true
- type: textarea
id: repro
attributes:
label: Minimal reproduction
description: The smallest code, input and configuration that shows the problem.
render: csharp
validations:
required: true
- type: textarea
id: expected
attributes:
label: Expected result
validations:
required: true
- type: textarea
id: actual
attributes:
label: Actual result
description: Include the full exception and stack trace, if any.
validations:
required: true
- type: textarea
id: notes
attributes:
label: Anything else
description: Workarounds you found, the last version that worked, links.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: Report a security vulnerability
url: https://github.com/DragoAnt/.github/blob/main/SECURITY.md
about: Report vulnerabilities privately through the repository's Security tab, never in a public issue.
- name: Getting help
url: https://github.com/DragoAnt/.github/blob/main/SUPPORT.md
about: Where to ask questions and what to include.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Feature request
description: Suggest a new capability or an improvement.
labels:
- enhancement
body:
- type: textarea
id: problem
attributes:
label: Problem
description: What are you trying to do, and what gets in the way today?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposed solution
description: The API or behavior you have in mind. A code sample of the intended usage helps most.
render: csharp
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
- type: checkboxes
id: contribute
attributes:
label: Contribution
options:
- label: I am willing to open a pull request for this.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
groups:
actions:
patterns:
- actions/*
- NuGet/*
- rhysd/*
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## What and why

<!-- One or two sentences. Link the issue: "Fixes #123". -->

## How it was tested

<!-- Tests added or changed; commands you ran. -->

## Checklist

- [ ] Tests cover the change (a regression test for a bug fix).
- [ ] The README / package README is updated if usage changed.
- [ ] No breaking change, or the breaking change is described above.
31 changes: 31 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: actionlint

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: actionlint-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
actionlint:
name: Lint workflows
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: actionlint
uses: docker://rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 # 1.7.12
with:
args: -color .github/workflows/actionlint.yml .github/workflows/dotnet-build.yml workflow-templates/dotnet-ci.yml workflow-templates/dotnet-release.yml
Loading