This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin.git
The following commit(s) were added to refs/heads/master by this push:
new 08dab40 chore: add RAT license-check policy (#1745)
08dab40 is described below
commit 08dab401f7e78a3af923239fff1fcef20ab78464
Author: Emery <[email protected]>
AuthorDate: Sat Jul 25 15:00:02 2026 +0800
chore: add RAT license-check policy (#1745)
---
.gitattributes | 21 +++++++++++++++++++++
.rat-excludes | 31 +++++++++++++++++++++++++++++++
Makefile | 17 +++++++++++++++++
README.md | 19 +++++++++++++++++++
4 files changed, 88 insertions(+)
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..b0954fa
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,21 @@
+# 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.
+
+# Repository-only development infrastructure and contributor guidance are not
+# part of the source release.
+.github export-ignore
+CONTRIBUTING.md export-ignore
diff --git a/.rat-excludes b/.rat-excludes
new file mode 100644
index 0000000..d3f68fa
--- /dev/null
+++ b/.rat-excludes
@@ -0,0 +1,31 @@
+# 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.
+
+# Parser and test fixtures whose contents must remain unchanged.
+examples/**
+config/testdata/**
+
+# Go module metadata. go.sum is generated by the Go toolchain.
+go.mod
+go.sum
+
+# Source-control metadata.
+**/.gitignore
+
+# Third-party MIT-licensed golangci-lint configuration. Its license and
+# attribution are recorded in the root LICENSE file.
+**/.golangci.yml
diff --git a/Makefile b/Makefile
index 3d933d8..deb5659 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,20 @@
+# 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.
+
SHELL = /bin/bash
default: lint test
diff --git a/README.md b/README.md
index a902f7e..9a94f45 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,22 @@
+<!--
+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.
+-->
+
Apache Casbin
====
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]