A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Configure Hadolint in a single location for both hooks and CI
Trenton Holmes329a317fdf04
diff --git a/.github/workflows/reusable-ci-backend.yml b/.github/workflows/reusable-ci-backend.ymlindex 2b54c6a8f..663a954b5 100644--- a/.github/workflows/reusable-ci-backend.yml+++ b/.github/workflows/reusable-ci-backend.yml@@ -124,8 +124,6 @@ jobs:name: Checkoutuses: actions/checkout@v3-- uses: hadolint/[email protected]+ uses: hadolint/[email protected]with:- failure-threshold: warningdockerfile: ${{ matrix.dockerfile }}- ignore: DL3008,DL3013,DL3003diff --git a/.hadolint.yml b/.hadolint.ymlnew file mode 100644index 000000000..e195127fe--- /dev/null+++ b/.hadolint.yml@@ -0,0 +1,8 @@+failure-threshold: warning+ignored:+ # https://github.com/hadolint/hadolint/wiki/DL3008+ - DL3008+ # https://github.com/hadolint/hadolint/wiki/DL3013+ - DL3013+ # https://github.com/hadolint/hadolint/wiki/DL3003+ - DL3003diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 46ad91ee8..70496a4d0 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -74,13 +74,6 @@ repos:rev: v2.10.0hooks:- id: hadolint- args:- - --ignore- - DL3008 # https://github.com/hadolint/hadolint/wiki/DL3008 (should probably do this at some point)- - --ignore- - DL3013 # https://github.com/hadolint/hadolint/wiki/DL3013 (should probably do this too at some point)- - --ignore- - DL3003 # https://github.com/hadolint/hadolint/wiki/DL3003 (seems excessive to use WORKDIR so much)# Shell script hooks- repo: https://github.com/lovesegfault/beautyshrev: v6.2.1