Skip to content

Commit da8d5aa

Browse files
first commit
1 parent 9a4d90c commit da8d5aa

33 files changed

+1380
-173
lines changed

.github/ISSUE_TEMPLATE/config.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Support Forum
4+
url: https://github.com/DuendeSoftware/Support/issues/new/choose
5+
about: The place for questions, bug reports, support and feature requests
6+
- name: Direct Contact
7+
url: https://duendesoftware.com/contact
8+
about: Contact us directly

.github/PULL_REQUEST_TEMPLATE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**What issue does this PR address?**
2+
3+
4+
5+
**Important: Any code or remarks in your Pull Request are under the following terms:**
6+
7+
If You provide us with any comments, bug reports, feedback, enhancements, or modifications proposed or suggested by You for the Software, such Feedback is provided on a non-confidential basis (notwithstanding any notice to the contrary You may include in any accompanying communication), and Licensor shall have the right to use such Feedback at its discretion, including, but not limited to the incorporation of such suggested changes into the Software. You hereby grant Licensor a perpetual, irrevocable, transferable, sublicensable, nonexclusive license under all rights necessary to incorporate and use your Feedback for any purpose, including to make and sell any products and services.
8+
9+
(see [our license](https://duendesoftware.com/license/identityserver.pdf), section 7)

.github/workflows/ci.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: "CI"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- features/**
8+
tags:
9+
- '*.*.*'
10+
pull_request:
11+
12+
env:
13+
DOTNET_NOLOGO: true
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
build:
20+
strategy:
21+
fail-fast: false
22+
matrix:
23+
runs-on: [macOS-latest, ubuntu-latest, windows-latest]
24+
name: ${{ matrix.runs-on }}
25+
runs-on: ${{ matrix.runs-on }}
26+
27+
steps:
28+
- uses: actions/[email protected]
29+
with:
30+
fetch-depth: 0
31+
32+
- name: Setup dotnet
33+
uses: actions/setup-dotnet@v1
34+
with:
35+
dotnet-version: |
36+
6.0.x
37+
38+
- run: dotnet --info
39+
40+
- if: contains(matrix.runs-on, 'macOS') || contains(matrix.runs-on, 'ubuntu')
41+
run: ./build.sh
42+
- if: matrix.runs-on == 'windows-latest' && github.ref != 'refs/heads/main' && !contains(github.ref, 'refs/tags/')
43+
run: ./build.ps1
44+
- if: (matrix.runs-on == 'windows-latest') && (github.ref == 'refs/heads/main' || contains(github.ref, 'refs/tags/'))
45+
env:
46+
SignClientSecret: ${{ secrets.SIGNCLIENTSECRET }}
47+
run: |
48+
./build.ps1 sign
49+
dotnet nuget push .\artifacts\*.nupkg -s https://www.myget.org/F/duende_identityserver/api/v2/package -k ${{ secrets.MYGET }}
50+

.github/workflows/codeql-analysis.yml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ main ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ main ]
20+
schedule:
21+
- cron: '39 8 * * 1'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
language: [ 'csharp' ]
32+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
33+
# Learn more:
34+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
35+
36+
steps:
37+
- name: Checkout repository
38+
uses: actions/checkout@v2
39+
40+
- name: Setup dotnet
41+
uses: actions/setup-dotnet@v1
42+
with:
43+
dotnet-version: '6.0.x'
44+
45+
- run: dotnet --info
46+
47+
# Initializes the CodeQL tools for scanning.
48+
- name: Initialize CodeQL
49+
uses: github/codeql-action/init@v1
50+
with:
51+
languages: ${{ matrix.language }}
52+
# If you wish to specify custom queries, you can do so here or in a config file.
53+
# By default, queries listed here will override any specified in a config file.
54+
# Prefix the list here with "+" to use these queries and those in the config file.
55+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
56+
57+
- run: ./build.sh build
58+
59+
- name: Perform CodeQL Analysis
60+
uses: github/codeql-action/analyze@v1

0 commit comments

Comments
 (0)