Skip to content

Commit

Permalink
ci: pre-commit to check cargo licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
acovaci committed May 20, 2024
1 parent 20137df commit 089cb36
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
---
minimum_pre_commit_version: 3.7.0
default_install_hook_types: [pre-commit, commit-msg]
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
Expand Down Expand Up @@ -46,3 +48,11 @@ repos:
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: local
hooks:
- id: cargo-about
name: cargo-about
entry: cargo about generate
args: [--format=json]
language: system
pass_filenames: false
8 changes: 8 additions & 0 deletions about.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
accepted = [
"Apache-2.0",
"MIT",
"CC0-1.0",
"PolyForm-Small-Business-1.0.0",
"ISC",
"Unicode-DFS-2016",
]

0 comments on commit 089cb36

Please sign in to comment.