Skip to content

Commit

Permalink
Ignore dirty submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Aug 20, 2024
1 parent 003e713 commit d5a1d2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/TestStatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,6 @@ jobs:
continue-on-error: true
run: ddev task test:untracked


- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Test for untracked and modified files
run: |
if [ "${{ steps.test_untracked.outcome }}" != "failure"]; then
Expand Down
2 changes: 1 addition & 1 deletion tasks/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ tasks:
cmds:
- |
if [ "$(git status -s)" != "" ]; then
git status -s
git status -s --ignore-submodules=dirty
echo "Untracked changes detected - please rectify or add the files to your .gitignore"
exit 1
fi
Expand Down

0 comments on commit d5a1d2c

Please sign in to comment.