Skip to content

feat: add deepcopy: bool option to spec.get_robot_model #112

feat: add deepcopy: bool option to spec.get_robot_model

feat: add deepcopy: bool option to spec.get_robot_model #112

name: MPL license check
on:
push:
branches:
- master
- dev
pull_request:
branches:
- master
- dev
jobs:
check-license-text:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check license text in files
run: |
missing_files=$(find ./cpp -type f \( -name "*.cpp" -o -name "*.hpp" -o -name "*.py" \) ! -name "sequence_table.hpp" -exec grep -L "https://mozilla.org/MPL/2.0/" {} \+)
if [ -n "$missing_files" ]; then
echo "[NG] Following files are missing required license text:"
echo "$missing_files"
exit 1
else
echo "[ok] All required files have license text"
exit 0
fi