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

Add pr_fixup action #1339

Merged
merged 7 commits into from
Nov 11, 2023
Merged

Add pr_fixup action #1339

merged 7 commits into from
Nov 11, 2023

Conversation

garritfra
Copy link
Collaborator

@garritfra garritfra commented Nov 7, 2023

Adds an action that

a) sorts the entries alphabetically
b) adds back the newline delimiter in the array
c) formats the document
d) commits the changes if applicable

An example automated commit can be found here: 2a3d10d

This removes the need to check for accidentally committed whitespace, which is a bit hard to spot in the GitHub mobile app. Furthermore, we don't need the extra check for alphabetical order.

@garritfra garritfra merged commit d137ea3 into main Nov 11, 2023
1 check passed
@garritfra garritfra mentioned this pull request Nov 13, 2023
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.

1 participant