feat: add deepcopy: bool option to spec.get_robot_model #112
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |