Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
8 changes: 4 additions & 4 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ github:
issues: true
projects: true
enabled_merge_buttons:
squash: false
merge: true
rebase: false
squash: false
merge: true
rebase: false

notifications:
pullrequests: commits@shiro.apache.org
commits: commits@shiro.apache.org
issues: issues@shiro.apache.org
issues: issues@shiro.apache.org
jira_options: link label worklog
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ body:

- type: markdown
attributes:
value: "Thanks for completing our form!"
value: "Thanks for completing our form!"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/documentation_related.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ body:

- type: markdown
attributes:
value: "Thanks for completing our form!"
value: "Thanks for completing our form!"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/enhancement_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ body:

- type: markdown
attributes:
value: "Thanks for completing our form!"
value: "Thanks for completing our form!"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ body:

- type: markdown
attributes:
value: "Thanks for completing our form!"
value: "Thanks for completing our form!"
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ body:

- type: markdown
attributes:
value: "Thanks for completing our form!"
value: "Thanks for completing our form!"
28 changes: 28 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

---
# https://yamllint.readthedocs.io/en/stable/
extends: default

rules:
braces: disable
brackets: disable
comments: disable
document-start: disable
line-length: disable
truthy: false
9 changes: 9 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,12 @@ repos:
name: run codespell
description: Check spelling with codespell
args: [--ignore-words=.github/linters/codespell.txt]
- repo: https://github.com/adrienverge/yamllint
rev: v1.37.1
hooks:
- id: yamllint
name: run yamllint
description: check YAML files with yamllint
args: [--strict, -c=.github/linters/.yaml-lint.yml]
types: [yaml]
files: \.ya?ml$