Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for modified files #138

Merged
merged 4 commits into from
Dec 1, 2020

Conversation

indirectlylit
Copy link
Contributor

@indirectlylit indirectlylit commented Dec 1, 2020

Comment on lines +32 to +39
- name: Check for modified files
run: |
if [[ `git status --porcelain --untracked-files=no` ]]; then
echo "Tracked files were modified by 'yarn run pregenerate'"
exit 1
else
exit 0
fi
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the new step that checks for files modified by pregenerate

Copy link
Member

@nucleogenesis nucleogenesis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @indirectlylit

@nucleogenesis nucleogenesis merged commit a3f0e64 into learningequality:v0.2.x Dec 1, 2020
@indirectlylit indirectlylit deleted the check-files branch December 1, 2020 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants