-
-
Notifications
You must be signed in to change notification settings - Fork 260
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update repository templates to ory/meta@af28aff
- Loading branch information
Showing
9 changed files
with
196 additions
and
50 deletions.
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
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
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
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
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,30 @@ | ||
# AUTO-GENERATED, DO NOT EDIT! | ||
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/closed_references.yml | ||
|
||
name: Closed Reference Notifier | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
issueLimit: | ||
description: Max. number of issues to create | ||
required: true | ||
default: "5" | ||
|
||
jobs: | ||
find_closed_references: | ||
if: github.repository_owner == 'ory' | ||
runs-on: ubuntu-latest | ||
name: Find closed references | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: "14" | ||
- uses: ory/closed-reference-notifier@v1 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
issueLabels: upstream,good first issue,help wanted | ||
issueLimit: ${{ github.event.inputs.issueLimit || '5' }} |
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,59 @@ | ||
# AUTO-GENERATED, DO NOT EDIT! | ||
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/conventional_commits.yml | ||
|
||
name: Conventional commits | ||
|
||
# This GitHub CI Action enforces that pull request titles follow conventional commits. | ||
# More info at https://www.conventionalcommits.org. | ||
# | ||
# The Ory-wide defaults for commit titles and scopes are below. | ||
# Your repository can add/replace elements via a configuration file at the path below. | ||
# More info at https://github.com/ory/ci/blob/master/conventional_commit_config/README.md | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- edited | ||
- opened | ||
- ready_for_review | ||
- reopened | ||
# pull_request: # for debugging, uses config in local branch but supports only Pull Requests from this repo | ||
|
||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- id: config | ||
uses: ory/ci/conventional_commit_config@master | ||
with: | ||
config_path: .github/conventional_commits.json | ||
default_types: | | ||
feat | ||
fix | ||
revert | ||
docs | ||
style | ||
refactor | ||
test | ||
build | ||
autogen | ||
security | ||
ci | ||
chore | ||
default_scopes: | | ||
deps | ||
docs | ||
default_require_scope: false | ||
- uses: amannn/action-semantic-pull-request@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
types: ${{ steps.config.outputs.types }} | ||
scopes: ${{ steps.config.outputs.scopes }} | ||
requireScope: ${{ steps.config.outputs.requireScope }} | ||
subjectPattern: ^(?![A-Z]).+$ | ||
subjectPatternError: | | ||
The subject should start with a lowercase letter, yours is uppercase: | ||
"{subject}" |
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,25 @@ | ||
# AUTO-GENERATED, DO NOT EDIT! | ||
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/labels.yml | ||
|
||
name: Synchronize Issue Labels | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
milestone: | ||
if: github.repository_owner == 'ory' | ||
name: Synchronize Issue Labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Synchronize Issue Labels | ||
uses: ory/label-sync-action@v0 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
dry: false | ||
forced: true |
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,47 @@ | ||
# AUTO-GENERATED, DO NOT EDIT! | ||
# Please edit the original at https://github.com/ory/meta/blob/master/templates/repository/common/.github/workflows/stale.yml | ||
|
||
name: "Close Stale Issues" | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
stale: | ||
if: github.repository_owner == 'ory' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: | | ||
Hello contributors! | ||
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 | ||
- open a PR referencing and resolving the issue; | ||
- leave a comment on it and discuss ideas on how you could contribute towards resolving it; | ||
- leave a comment and describe in detail why this issue is critical for your use case; | ||
- open a new issue with updated details and a plan for resolving the issue. | ||
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. | ||
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. | ||
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/). | ||
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone. | ||
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. | ||
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! | ||
Thank you 🙏✌️ | ||
stale-issue-label: "stale" | ||
exempt-issue-labels: "bug,blocking,docs,backlog" | ||
days-before-stale: 365 | ||
days-before-close: 30 | ||
exempt-milestones: true | ||
exempt-assignees: true | ||
only-pr-labels: "stale" |
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