CI: Fail build if tracked files are modified #3451
Labels
@aws-cdk/core
Related to core CDK functionality
feature-request
A feature should be added or improved.
package/tools
Related to AWS CDK Tools or CLI
Note: for support questions, please first reference our documentation, then use Stackoverflow. This repository's issues are intended for feature requests and bug reports.
I'm submitting a ...
What is the current behavior?
If the current behavior is a 🪲bug🪲: Please provide the steps to reproduce
Builds do not fail at the end of the
./build.sh
script when tracked files have been modified or deleted, or files have been added in tracked directories.What is the expected behavior (or behavior of feature suggested)?
Fail the build if
git status --porcelain
is not emptyWhat is the motivation / use case for changing the behavior or adding this feature?
When building 6c0bf4a, all
packages/*/package-lock.json
have the following diff:Something similar happened with 1.1.0 if I remember correctly.
In any case, the build shouldn't create, update or delete any tracked files.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. associated pull-request, stackoverflow, gitter, etc)
If this is implemented, we should probably add
**/.idea
to the.gitignore
file, to allow WebStorm users to build without stashing their IDE config folderThe text was updated successfully, but these errors were encountered: