-
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
1 parent
f23fbe1
commit 31dde4b
Showing
31 changed files
with
1,028 additions
and
1 deletion.
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,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
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,51 @@ | ||
name: Bug report | ||
description: File a bug report | ||
labels: ["Bug" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
For additional support options, or if this is related to a security vulnerability or sensitive information must be included in the bug report, visit [particular.net/support](https://particular.net/support). | ||
- type: textarea | ||
id: what-happened | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of the bug. | ||
value: | | ||
#### Description | ||
#### Expected behavior | ||
#### Actual behavior | ||
#### Versions | ||
Please list the version of the relevant packages or applications in which the bug exists. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: steps-to-reproduce | ||
attributes: | ||
label: Steps to reproduce | ||
description: Detailed instructions to reproduce the bug. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: logs | ||
attributes: | ||
label: Relevant log output | ||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. | ||
render: shell | ||
- type: textarea | ||
id: additional-information | ||
attributes: | ||
label: Additional Information | ||
description: If there are any possible solutions, workarounds, or additional information please describe them here | ||
value: | | ||
#### Workarounds | ||
#### Possible solutions | ||
#### Additional information | ||
validations: | ||
required: 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,8 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Ask a question | ||
url: https://discuss.particular.net/ | ||
about: Reach out to the ParticularDiscussion community. | ||
- name: Get support | ||
url: https://particular.net/support | ||
about: Contact us to discuss your support requirements. |
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: Feature request | ||
|
||
description: Request a new feature. | ||
labels: ["Feature" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please check all open and closed issues to see if the feature has already been requested. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the feature. | ||
|
||
description: A clear and concise description of the feature. | ||
|
||
value: | | ||
#### Is your feature related to a problem? Please describe. | ||
#### Describe the requested feature | ||
#### Describe alternatives you've considered | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional Context | ||
description: Add any other context about the request. | ||
|
||
placeholder: "Add screenshots or additional information." | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
For additional support options visit [particular.net/support](https://particular.net/support) |
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,33 @@ | ||
name: Improvement request | ||
description: Suggest an improvement to an existing code base. | ||
labels: ["Improvement" ] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Please check all open and closed issues to see if improvement has already been suggested. | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the suggested improvement | ||
description: A clear and concise description of what the improvement is. | ||
value: | | ||
#### Is your improvement related to a problem? Please describe. | ||
#### Describe the suggested solution | ||
#### Describe alternatives you've considered | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: additional-context | ||
attributes: | ||
label: Additional Context | ||
description: Add any other context about the suggestion here. | ||
placeholder: "Add screenshots or additional information." | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
For additional support options visit [particular.net/support](https://particular.net/support) |
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 @@ | ||
# Looking for Support | ||
|
||
Check out our [support options](https://particular.net/support). |
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,31 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: nuget | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1000 | ||
groups: | ||
AWSSDK: | ||
patterns: | ||
- "AWSSDK.*" | ||
NServiceBusCore: | ||
patterns: | ||
- "NServiceBus" | ||
- "NServiceBus.AcceptanceTesting" | ||
- "NServiceBus.AcceptanceTests.Sources" | ||
- "NServiceBus.PersistenceTests.Sources" | ||
- "NServiceBus.TransportTests.Sources" | ||
ignore: | ||
# Particular.Analyzers updates are distributed via RepoStandards | ||
- dependency-name: "Particular.Analyzers" | ||
# Changing these 3 dependencies affects the .NET SDK and Visual Studio versions we support | ||
# These types of updates should be more intentional than an automated update | ||
- dependency-name: "Microsoft.Build.Utilities.Core" | ||
- dependency-name: "Microsoft.CodeAnalysis.CSharp" | ||
- dependency-name: "Microsoft.CodeAnalysis.CSharp.Workspaces" | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 1000 |
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: Auto-approve AWSSDK dependency updates | ||
on: | ||
pull_request_target: | ||
types: [ opened ] | ||
permissions: | ||
pull-requests: write | ||
contents: write | ||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
# Prevent run from failing on non-Dependabot PRs | ||
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | ||
steps: | ||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/fetch-metadata@v1.6.0 | ||
- name: Approve PR | ||
if: ${{contains(steps.metadata.outputs.dependency-names, 'AWSSDK.DynamoDBv2')}} | ||
run: gh pr review --approve "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
- name: Enable auto-merge | ||
if: ${{contains(steps.metadata.outputs.dependency-names, 'AWSSDK.DynamoDBv2')}} | ||
run: gh pr merge --auto --squash "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |
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,49 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
env: | ||
DOTNET_NOLOGO: true | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
jobs: | ||
build: | ||
name: ${{ matrix.name }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
include: | ||
- os: windows-2022 | ||
name: Windows | ||
- os: ubuntu-22.04 | ||
name: Linux | ||
fail-fast: false | ||
steps: | ||
- name: Check for secrets | ||
env: | ||
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }} | ||
shell: pwsh | ||
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 }) | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4.0.0 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Build | ||
run: dotnet build src --configuration Release | ||
- name: Upload packages | ||
if: matrix.name == 'Windows' | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: NuGet packages | ||
path: nugets/ | ||
retention-days: 7 | ||
- name: Run tests | ||
uses: Particular/run-tests-action@v1.7.0 |
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: Release | ||
on: | ||
push: | ||
tags: | ||
- '[0-9]+.[0-9]+.[0-9]+' | ||
- '[0-9]+.[0-9]+.[0-9]+-*' | ||
env: | ||
DOTNET_NOLOGO: true | ||
jobs: | ||
release: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup .NET SDK | ||
uses: actions/setup-dotnet@v4.0.0 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Build | ||
run: dotnet build src --configuration Release | ||
- name: Sign NuGet packages | ||
uses: Particular/sign-nuget-packages-action@v1.0.0 | ||
with: | ||
client-id: ${{ secrets.AZURE_KEY_VAULT_CLIENT_ID }} | ||
tenant-id: ${{ secrets.AZURE_KEY_VAULT_TENANT_ID }} | ||
client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }} | ||
certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }} | ||
- name: Publish artifacts | ||
uses: actions/upload-artifact@v4.3.1 | ||
with: | ||
name: nugets | ||
path: nugets/* | ||
retention-days: 1 | ||
- name: Deploy | ||
uses: Particular/push-octopus-package-action@v1.2.1 | ||
with: | ||
octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }} |
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,13 @@ | ||
name: StaleBot | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
jobs: | ||
stalebot: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Mark stale PRs | ||
uses: Particular/stale-action@main | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |
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: Virus scan | ||
on: | ||
release: | ||
types: [published] | ||
jobs: | ||
virus-scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Scan release for viruses | ||
uses: Particular/virus-scan-action@main | ||
with: | ||
owner: ${{ github.repository_owner }} | ||
repo: ${{ github.event.repository.name }} | ||
tag: ${{ github.event.release.name }} | ||
github-access-token: ${{ secrets.GITHUB_TOKEN }} | ||
slack-token: ${{ secrets.SLACK_TOKEN }} | ||
slack-channel: ${{ vars.VIRUS_REPORTING_SLACK_CHANNEL }} |
Oops, something went wrong.