Skip to content

Commit 4f27299

Browse files
committed
chore: update repository templates to ory/meta@af28aff
1 parent 9f78bb5 commit 4f27299

9 files changed

+196
-50
lines changed

.github/ISSUE_TEMPLATE/BUG-REPORT.yml

+7-14
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,18 @@ body:
1212
- attributes:
1313
label: "Preflight checklist"
1414
options:
15-
- label:
16-
"I could not find a solution in the existing issues, docs, nor
15+
- label: "I could not find a solution in the existing issues, docs, nor
1716
discussions."
1817
required: true
19-
- label:
20-
"I agree to follow this project's [Code of
18+
- label: "I agree to follow this project's [Code of
2119
Conduct](https://github.com/ory/k8s/blob/master/CODE_OF_CONDUCT.md)."
2220
required: true
23-
- label:
24-
"I have read and am following this repository's [Contribution
21+
- label: "I have read and am following this repository's [Contribution
2522
Guidelines](https://github.com/ory/k8s/blob/master/CONTRIBUTING.md)."
2623
required: true
27-
- label:
28-
"This issue affects my [Ory Network](https://www.ory.sh/) project."
29-
- label:
30-
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
31-
- label:
32-
"I am signed up to the [Ory Security Patch
24+
- label: "This issue affects my [Ory Network](https://www.ory.sh/) project."
25+
- label: "I have joined the [Ory Community Slack](https://slack.ory.sh)."
26+
- label: "I am signed up to the [Ory Security Patch
3327
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
3428
id: checklist
3529
type: checkboxes
@@ -56,8 +50,7 @@ body:
5650
validations:
5751
required: true
5852
- attributes:
59-
description:
60-
"Please copy and paste any relevant log output. This will be
53+
description: "Please copy and paste any relevant log output. This will be
6154
automatically formatted into code, so no need for backticks. Please
6255
redact any sensitive information"
6356
label: "Relevant log output"

.github/ISSUE_TEMPLATE/DESIGN-DOC.yml

+7-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# AUTO-GENERATED, DO NOT EDIT!
22
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/DESIGN-DOC.yml
33

4-
description:
5-
"A design document is needed for non-trivial changes to the code base."
4+
description: "A design document is needed for non-trivial changes to the code base."
65
labels:
76
- rfc
87
name: "Design Document"
@@ -23,24 +22,18 @@ body:
2322
- attributes:
2423
label: "Preflight checklist"
2524
options:
26-
- label:
27-
"I could not find a solution in the existing issues, docs, nor
25+
- label: "I could not find a solution in the existing issues, docs, nor
2826
discussions."
2927
required: true
30-
- label:
31-
"I agree to follow this project's [Code of
28+
- label: "I agree to follow this project's [Code of
3229
Conduct](https://github.com/ory/k8s/blob/master/CODE_OF_CONDUCT.md)."
3330
required: true
34-
- label:
35-
"I have read and am following this repository's [Contribution
31+
- label: "I have read and am following this repository's [Contribution
3632
Guidelines](https://github.com/ory/k8s/blob/master/CONTRIBUTING.md)."
3733
required: true
38-
- label:
39-
"This issue affects my [Ory Network](https://www.ory.sh/) project."
40-
- label:
41-
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
42-
- label:
43-
"I am signed up to the [Ory Security Patch
34+
- label: "This issue affects my [Ory Network](https://www.ory.sh/) project."
35+
- label: "I have joined the [Ory Community Slack](https://slack.ory.sh)."
36+
- label: "I am signed up to the [Ory Security Patch
4437
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
4538
id: checklist
4639
type: checkboxes

.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml

+9-18
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# AUTO-GENERATED, DO NOT EDIT!
22
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
33

4-
description:
5-
"Suggest an idea for this project without a plan for implementation"
4+
description: "Suggest an idea for this project without a plan for implementation"
65
labels:
76
- feat
87
name: "Feature Request"
@@ -16,30 +15,23 @@ body:
1615
- attributes:
1716
label: "Preflight checklist"
1817
options:
19-
- label:
20-
"I could not find a solution in the existing issues, docs, nor
18+
- label: "I could not find a solution in the existing issues, docs, nor
2119
discussions."
2220
required: true
23-
- label:
24-
"I agree to follow this project's [Code of
21+
- label: "I agree to follow this project's [Code of
2522
Conduct](https://github.com/ory/k8s/blob/master/CODE_OF_CONDUCT.md)."
2623
required: true
27-
- label:
28-
"I have read and am following this repository's [Contribution
24+
- label: "I have read and am following this repository's [Contribution
2925
Guidelines](https://github.com/ory/k8s/blob/master/CONTRIBUTING.md)."
3026
required: true
31-
- label:
32-
"This issue affects my [Ory Network](https://www.ory.sh/) project."
33-
- label:
34-
"I have joined the [Ory Community Slack](https://slack.ory.sh)."
35-
- label:
36-
"I am signed up to the [Ory Security Patch
27+
- label: "This issue affects my [Ory Network](https://www.ory.sh/) project."
28+
- label: "I have joined the [Ory Community Slack](https://slack.ory.sh)."
29+
- label: "I am signed up to the [Ory Security Patch
3730
Newsletter](https://ory.us10.list-manage.com/subscribe?u=ffb1a878e4ec6c0ed312a3480&id=f605a41b53)."
3831
id: checklist
3932
type: checkboxes
4033
- attributes:
41-
description:
42-
"Is your feature request related to a problem? Please describe."
34+
description: "Is your feature request related to a problem? Please describe."
4335
label: "Describe your problem"
4436
placeholder:
4537
"A clear and concise description of what the problem is. Ex. I'm always
@@ -73,8 +65,7 @@ body:
7365
validations:
7466
required: true
7567
- attributes:
76-
description:
77-
"Add any other context or screenshots about the feature request here."
68+
description: "Add any other context or screenshots about the feature request here."
7869
label: Additional Context
7970
id: additional
8071
type: textarea

.github/ISSUE_TEMPLATE/config.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ blank_issues_enabled: false
55
contact_links:
66
- name: Ory Kubernetes Resources Forum
77
url: https://github.com/orgs/ory/discussions
8-
about:
9-
Please ask and answer questions here, show your implementations and
8+
about: Please ask and answer questions here, show your implementations and
109
discuss ideas.
1110
- name: Ory Chat
1211
url: https://www.ory.sh/chat
13-
about:
14-
Hang out with other Ory community members to ask and answer questions.
12+
about: Hang out with other Ory community members to ask and answer questions.
+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml
3+
4+
name: Closed Reference Notifier
5+
6+
on:
7+
schedule:
8+
- cron: "0 0 * * *"
9+
workflow_dispatch:
10+
inputs:
11+
issueLimit:
12+
description: Max. number of issues to create
13+
required: true
14+
default: "5"
15+
16+
jobs:
17+
find_closed_references:
18+
if: github.repository_owner == 'ory'
19+
runs-on: ubuntu-latest
20+
name: Find closed references
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v2-beta
24+
with:
25+
node-version: "14"
26+
- uses: ory/closed-reference-notifier@v1
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
issueLabels: upstream,good first issue,help wanted
30+
issueLimit: ${{ github.event.inputs.issueLimit || '5' }}
+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml
3+
4+
name: Conventional commits
5+
6+
# This GitHub CI Action enforces that pull request titles follow conventional commits.
7+
# More info at https://www.conventionalcommits.org.
8+
#
9+
# The Ory-wide defaults for commit titles and scopes are below.
10+
# Your repository can add/replace elements via a configuration file at the path below.
11+
# More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md
12+
13+
on:
14+
pull_request_target:
15+
types:
16+
- edited
17+
- opened
18+
- ready_for_review
19+
- reopened
20+
# pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo
21+
22+
jobs:
23+
main:
24+
name: Validate PR title
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v3
28+
- id: config
29+
uses: ory/ci/conventional_commit_config@master
30+
with:
31+
config_path: .github/conventional_commits.json
32+
default_types: |
33+
feat
34+
fix
35+
revert
36+
docs
37+
style
38+
refactor
39+
test
40+
build
41+
autogen
42+
security
43+
ci
44+
chore
45+
default_scopes: |
46+
deps
47+
docs
48+
default_require_scope: false
49+
- uses: amannn/action-semantic-pull-request@v4
50+
env:
51+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52+
with:
53+
types: ${{ steps.config.outputs.types }}
54+
scopes: ${{ steps.config.outputs.scopes }}
55+
requireScope: ${{ steps.config.outputs.requireScope }}
56+
subjectPattern: ^(?![A-Z]).+$
57+
subjectPatternError: |
58+
The subject should start with a lowercase letter, yours is uppercase:
59+
"{subject}"

.github/workflows/labels.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/labels.yml
3+
4+
name: Synchronize Issue Labels
5+
6+
on:
7+
workflow_dispatch:
8+
push:
9+
branches:
10+
- master
11+
12+
jobs:
13+
milestone:
14+
if: github.repository_owner == 'ory'
15+
name: Synchronize Issue Labels
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
- name: Synchronize Issue Labels
21+
uses: ory/label-sync-action@v0
22+
with:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
dry: false
25+
forced: true

.github/workflows/stale.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# AUTO-GENERATED, DO NOT EDIT!
2+
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/stale.yml
3+
4+
name: "Close Stale Issues"
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: "0 0 * * *"
9+
10+
jobs:
11+
stale:
12+
if: github.repository_owner == 'ory'
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/stale@v4
16+
with:
17+
repo-token: ${{ secrets.GITHUB_TOKEN }}
18+
stale-issue-message: |
19+
Hello contributors!
20+
21+
I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue
22+
23+
- open a PR referencing and resolving the issue;
24+
- leave a comment on it and discuss ideas on how you could contribute towards resolving it;
25+
- leave a comment and describe in detail why this issue is critical for your use case;
26+
- open a new issue with updated details and a plan for resolving the issue.
27+
28+
Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.
29+
30+
Unfortunately, [burnout](https://www.jeffgeerling.com/blog/2016/why-i-close-prs-oss-project-maintainer-notes) has become a [topic](https://opensource.guide/best-practices/#its-okay-to-hit-pause) of [concern](https://docs.brew.sh/Maintainers-Avoiding-Burnout) amongst open-source projects.
31+
32+
It can lead to severe personal and health issues as well as [opening](https://haacked.com/archive/2019/05/28/maintainer-burnout/) catastrophic [attack vectors](https://www.gradiant.org/en/blog/open-source-maintainer-burnout-as-an-attack-surface/).
33+
34+
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.
35+
36+
If this issue was marked as stale erroneously you can exempt it by adding the `backlog` label, assigning someone, or setting a milestone for it.
37+
38+
Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!
39+
40+
Thank you 🙏✌️
41+
stale-issue-label: "stale"
42+
exempt-issue-labels: "bug,blocking,docs,backlog"
43+
days-before-stale: 365
44+
days-before-close: 30
45+
exempt-milestones: true
46+
exempt-assignees: true
47+
only-pr-labels: "stale"

CODE_OF_CONDUCT.md

+10
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ Examples of unacceptable behavior include:
3939
- Other conduct which could reasonably be considered inappropriate in a
4040
professional setting
4141

42+
## Open Source Community Support
43+
44+
Ory Open source software is collaborative and based on contributions by
45+
developers in the Ory community. There is no obligation from Ory to help with
46+
individual problems. If Ory open source software is used in production in a
47+
for-profit company or enterprise environment, we mandate a paid support contract
48+
where Ory is obligated under their service level agreements (SLAs) to offer a
49+
defined level of availability and responsibility. For more information about
50+
paid support please contact us at sales@ory.sh.
51+
4252
## Enforcement Responsibilities
4353

4454
Community leaders are responsible for clarifying and enforcing our standards of

0 commit comments

Comments
 (0)