Skip to content

Commit fcf49f1

Browse files
committed
[GitHub] enable github issues and projects.
- also enable dependabot alerts (but no PRs) - disable force push to main branch
1 parent b597f48 commit fcf49f1

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

Diff for: .asf.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@
1717
github:
1818
description: "Apache Shiro"
1919
homepage: https://shiro.apache.org/
20+
dependabot_alerts: true
21+
protected_branches:
22+
main: { }
2023
features:
2124
wiki: false
22-
issues: false
23-
projects: false
25+
issues: true
26+
projects: true
2427
enabled_merge_buttons:
2528
squash: false
2629
merge: true

Diff for: .github/pull_request_template.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,20 @@ For more details on how to report a vulnerablity see: https://www.apache.org/sec
55

66
Following this checklist to help us incorporate your contribution quickly and easily:
77

8-
- [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/SHIRO) filed
8+
- [ ] 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
10-
require a JIRA issue. Your pull request should address just this issue, without pulling in other changes.
10+
require a GitHub issue. Your pull request should address just this issue, without pulling in other changes.
1111
- [ ] Each commit in the pull request should have a meaningful subject line and body.
12-
- [ ] Format the pull request title like `[SHIRO-XXX] - Fixes bug in SessionManager`,
13-
where you replace `SHIRO-XXX` with the appropriate JIRA issue. Best practice
14-
is to use the JIRA issue title in the pull request title and in the first line of the commit message.
12+
- [ ] Format the pull request title like `[#XXX] - Fixes bug in SessionManager`,
13+
where you replace `#XXX` with the appropriate GitHub issue. Best practice
14+
is to use the GitHub issue title in the pull request title and in the first line of the commit message.
1515
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
16+
- [ ] add `fixes #XXX` if merging the PR should close a related issue.
1617
- [ ] Run `mvn clean install apache-rat:check` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
1718
- [ ] 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`.
1819

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

2223
If this is your first contribution, you have to read the [Contribution Guidelines](https://github.com/apache/shiro/blob/master/CONTRIBUTING.md)
2324

@@ -29,4 +30,3 @@ you have to acknowledge this by using the following check-box.
2930

3031
- [ ] I hereby declare this contribution to be licenced under the [Apache License Version 2.0, January 2004](http://www.apache.org/licenses/LICENSE-2.0)
3132
- [ ] In any other case, please file an [Apache Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
32-

0 commit comments

Comments
 (0)