Skip to content

Conversation

@piquark6046
Copy link
Member

@piquark6046 piquark6046 commented Jun 14, 2024

It does not have lint-staged npm package to check the ordering at only GitHub-hosted workflow runner automatically.
If the CI finds any incorrect ordering in banks.txt file, the workflow run will be failed. Otherwise, the workflow run will be succeeded.

@piquark6046 piquark6046 requested review from Alex-302 and zloyden June 14, 2024 06:18
@piquark6046 piquark6046 changed the title Add a GitHu CI to check sorting HttpsExclusions Add a GitHub CI to check sorting HttpsExclusions Jun 14, 2024
@Alex-302
Copy link
Member

In this case, all lines will be sorted, including comments //.

  • Sorting should not be applied to comments.
  • After a comment, the sorting should start again.

@piquark6046 piquark6046 marked this pull request as draft June 14, 2024 11:18
@piquark6046 piquark6046 marked this pull request as ready for review June 14, 2024 11:44
@Alex-302 Alex-302 requested a review from scripthunter7 June 25, 2024 09:05
Copy link
Member

@scripthunter7 scripthunter7 left a comment

Choose a reason for hiding this comment

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

I left some comments, please take a look

Copy link
Member

@scripthunter7 scripthunter7 left a comment

Choose a reason for hiding this comment

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

lgtm

cc @Alex-302 I think you can merge it

branches:
- master
paths:
- "**/*.txt"
Copy link
Member

Choose a reason for hiding this comment

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

Both "**/*.txt" can be replaced by a relative path of banks.txt?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, But, it can be extended in the future.

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.

5 participants