Skip to content

Conversation

@vdonato
Copy link
Collaborator

@vdonato vdonato commented Apr 15, 2023

📚 Context

When making some changes to some of our GitHub actions files, I noticed that the pre-save
autoformatter triggered by my editor was making changes. We might as well have precommit
do this for us, so this change runs prettier on everything in the .github/ directory and
enforces autoformatting going forward via precommit.

@vdonato vdonato added the security-assessment-completed Security assessment has been completed for PR label Apr 15, 2023
@vdonato vdonato force-pushed the vdonato/autoformat-github-dir branch from 3aadb72 to 29bc81e Compare April 16, 2023 00:03
@vdonato vdonato force-pushed the vdonato/autoformat-github-dir branch from 29bc81e to ec7ab29 Compare April 16, 2023 00:32
Copy link
Collaborator

@mayagbarnes mayagbarnes left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏼
Curious on the multi-line needs array in nightly, release & RC, but couldn't find an indication on whether this makes a difference. Easy fix if its somehow problematic.

@vdonato
Copy link
Collaborator Author

vdonato commented Apr 17, 2023

Curious on the multi-line needs array in nightly, release & RC, but couldn't find an indication on whether this makes a difference. Easy fix if its somehow problematic.

@mayagbarnes heads up that this comment made me realize it's a bit more idiomatic in markdown to use the hyphen list syntax in these situations rather than writing out the array explicitly: see 86c7db3 (the two are completely equivalent as far as I understand). I'll keep an eye on tonight's nightly run to verify that nothing weird happens due to this change

@vdonato vdonato merged commit c55de63 into develop Apr 17, 2023
@vdonato vdonato deleted the vdonato/autoformat-github-dir branch April 17, 2023 23:19
tconkling added a commit to tconkling/streamlit that referenced this pull request Apr 18, 2023
* develop:
  Create tag with constraints files for new releases (streamlit#6495)
  Autoformat yaml in .github dir and enforce formatting (streamlit#6497)
  Update metadata description (streamlit#6503)
  Update CODEOWNERS (streamlit#6496)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security-assessment-completed Security assessment has been completed for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants