Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Add a check to help prevent generated files being checked into source control #5609

Merged
merged 1 commit into from
Oct 11, 2022

Conversation

haltman-at
Copy link
Contributor

We had a problem recently where a generated file was accidentally checked into source control and it caused a problem (see #5608) where bootstrapping resulted in changes to tracked files. I figured it would be good to add this measure to help prevent this. So I added a check for this in CI. Note that because this check requires bootstrapping, like depcheck it goes in the jobs that aren't yarncheck. Obviously this won't catch every case, but it should help, I figure.

Copy link
Member

@cds-amal cds-amal left a comment

Choose a reason for hiding this comment

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

Looks good. Nice one, @haltman-at

@haltman-at haltman-at merged commit 07a0546 into develop Oct 11, 2022
@haltman-at haltman-at deleted the generally-generated branch October 11, 2022 21:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants