diff --git a/.github/workflows/lint_for_svn.yml b/.github/workflows/lint_for_svn.yml new file mode 100644 index 0000000000..0d0e6baf36 --- /dev/null +++ b/.github/workflows/lint_for_svn.yml @@ -0,0 +1,28 @@ +name: lint_for_svn_on_pr + +on: + pull_request: + types: [opened, synchronize, reopened] + +jobs: + run-script: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Get list of changed files + id: changed-files + uses: tj-actions/changed-files@v34 + + - name: Run script on changed files + run: | + # Save the script to a file + echo '$(cat check_lines.sh)' > check_lines.sh + chmod +x check_lines.sh + + # Run the script on each changed file + for file in ${{ steps.changed-files.outputs.all_changed_files }}; do + ./check_lines.sh "$file" + done \ No newline at end of file diff --git a/guide/DART_LAB/matlab/oned_model_inf.m b/guide/DART_LAB/matlab/oned_model_inf.m index 44b216c451..33a06dd349 100644 --- a/guide/DART_LAB/matlab/oned_model_inf.m +++ b/guide/DART_LAB/matlab/oned_model_inf.m @@ -1,3 +1,6 @@ + +% Hello helen + function oned_model_inf %% ONED_MODEL_INF simple ensemble data assimilation example. %