Skip to content

update-drafts shouldn't modify draft_date when there are no other changes #1716

@ddbeck

Description

@ddbeck

Updating draft_date produces lots of noise in the diff on updates. See #1715 for an example. In that case, there are no real changes to the feature files, just updates to the dates.

Instead, the script ought to check if there are any differences except the date before writing a file. If the only difference is the date, then the file ought to be skipped. This will also make it easier to find areas we haven't touched recently.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttools and infrastructureProject internal tooling, such as linters, GitHub Actions, or repo settings

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions