-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
When doing a commit check, I've seen the following error:
[test:untracked] M .github/workflows/PantheonDevDeploy.yml
[test:untracked] Untracked changes detected - please rectify or add the files to your .gitignore
task: Failed to run task "test:static": exit status 1
Failed to run task test:static: exit status 201
The pre-commit runs:
#!/bin/sh
ddev task test:static
And task test:static runs:
deps: [lint, phpstan, phpunit:static, phpcs]
cmds:
- task: untracked
Then the untracked script should not consider files in the stage area of a commit.
This is what I expect
Error: untracked or modified files not added to the stage area
No error: no unstaged changes or untracked files

Metadata
Metadata
Assignees
Labels
No labels