Skip to content

Commit

Permalink
[CI] Find new files without copyright (mlrun#2288)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tankilevitch authored Aug 23, 2022
1 parent 9f8cb94 commit 1e8f84b
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,11 @@ jobs:
run: |
cd head/mlrun
MLRUN_DOCKER_CACHE_FROM_TAG=${{ steps.docker_cache.outputs.tag }} make test-backward-compatibility-dockerized
check-copyright:
name: Check Copyright Existent
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check License Lines
uses: kt3k/[email protected]
8 changes: 8 additions & 0 deletions .licenserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"**/*.{py,yaml,yml}": "Licensed under the Apache License, Version 2.0",
"**/{Dockerfile,Makefile}": "Licensed under the Apache License, Version 2.0",
"ignore": [
"docs/",
"vendor/"
]
}
14 changes: 14 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2018 Iguazio
#
# Licensed 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.
#
version: 2

# Build documentation in the docs/ directory with Sphinx
Expand Down
14 changes: 14 additions & 0 deletions tests/api/api/test_docs.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2018 Iguazio
#
# Licensed 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.
#
import http
import os

Expand Down
14 changes: 14 additions & 0 deletions tests/run/test_context_decorator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2018 Iguazio
#
# Licensed 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.
#
import os
import tempfile
import zipfile
Expand Down

0 comments on commit 1e8f84b

Please sign in to comment.