Skip to content

Commit 0848632

Browse files
committed
Merge branch 'main' into fix-vulnerabilities
2 parents 4ce69dc + 716f038 commit 0848632

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.asf.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ github:
2424
wiki: false
2525
issues: true
2626
projects: true
27+
discussions: true
2728
enabled_merge_buttons:
28-
squash: false
29+
squash: true
2930
merge: true
3031
rebase: false
3132

3233
notifications:
3334
pullrequests: [email protected]
3435
3536
37+
discussions: [email protected]
3638
jira_options: link label worklog

.github/pull_request_template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ Following this checklist to help us incorporate your contribution quickly and ea
88
- [ ] Make sure there is a [GitHub issue](https://github.com/apache/shiro/issues) filed
99
for the change (usually before you start working on it). Trivial changes like typos do not
1010
require a GitHub issue. Your pull request should address just this issue, without pulling in other changes.
11-
- [ ] Each commit in the pull request should have a meaningful subject line and body.
1211
- [ ] Format the pull request title like `[#XXX] - Fixes bug in SessionManager`,
1312
where you replace `#XXX` with the appropriate GitHub issue. Best practice
1413
is to use the GitHub issue title in the pull request title and in the first line of the commit message.
1514
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
1615
- [ ] add `fixes #XXX` if merging the PR should close a related issue.
1716
- [ ] Run `mvn verify` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
18-
- [ ] If you have a group of commits related to the same change, please squash your commits into one and force push your branch using `git rebase -i`.
1917
- [ ] Committers: Make sure a milestone is set on the PR
18+
- [ ] Committers: Use "Squash and Merge" to combine all commits into one when merging a PR when appropriate.
2019

2120
Trivial changes like typos do not require a GitHub issue (javadoc, comments...).
2221
In this case, just format the pull request title like `[DOC] - Add javadoc in SessionManager`.

.pre-commit-config.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ repos:
2424
- repo: meta
2525
hooks:
2626
- id: identity
27+
description: A simple hook which prints all arguments passed to it, useful for debugging
2728
- id: check-hooks-apply
29+
description: Useful when testing new hooks to see if they apply to the repository
2830
- repo: https://github.com/codespell-project/codespell
2931
rev: v2.4.1
3032
hooks:
@@ -36,21 +38,36 @@ repos:
3638
rev: v6.0.0
3739
hooks:
3840
- id: check-case-conflict
41+
description: Check for files with names that would conflict on a case-insensitive filesystem like MacOS HFS+ or Windows FAT
3942
- id: check-executables-have-shebangs
43+
description: Checks that non-binary executables have a proper shebang
4044
- id: check-illegal-windows-names
45+
description: Check for files that cannot be created on Windows
4146
- id: check-json
47+
description: Attempts to load all json files to verify syntax
4248
- id: check-merge-conflict
49+
description: Check for files that contain merge conflict strings
4350
- id: check-shebang-scripts-are-executable
51+
description: Checks that scripts with shebangs are executable
4452
- id: check-vcs-permalinks
53+
description: Ensures that links to vcs websites are permalinks
4554
- id: check-xml
55+
description: Attempts to load all xml files to verify syntax
4656
- id: check-yaml
57+
description: Attempts to load all yaml files to verify syntax
4758
- id: destroyed-symlinks
59+
description: Detects symlinks which are changed to regular files with a content of a path which that symlink was pointing to
4860
- id: detect-aws-credentials
61+
description: Checks for the existence of AWS secrets that you have set up with the AWS CLI
4962
args: [--allow-missing-credentials]
5063
- id: detect-private-key
64+
description: Checks for the existence of private keys
5165
- id: end-of-file-fixer
66+
description: Makes sure files end in a newline and only a newline
5267
- id: forbid-submodules
68+
description: Forbids any submodules in the repository
5369
- id: trailing-whitespace
70+
description: Trims trailing whitespace
5471
args: [--markdown-linebreak-ext=md]
5572
- repo: https://github.com/igorshubovych/markdownlint-cli
5673
rev: v0.45.0
@@ -81,6 +98,7 @@ repos:
8198
rev: v1.7.8
8299
hooks:
83100
- id: actionlint
101+
description: actionlint is a static checker for GitHub Actions workflow files
84102
- repo: https://github.com/oxipng/oxipng
85103
rev: v9.1.5
86104
hooks:

0 commit comments

Comments
 (0)