Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Ensure sponsors are alphabetical (at the same tier)
- I got bored of manually fixing the 2024 London sponsors data when I noticed it was non-alphabetical. - So here's a CI check that runs whenever someone edits an event YAML file. - It checks that the sponsors are sorted alphabetically by ID at each tier. Example (events/2024/test/main.yml): ```yaml sponsors: - id: Elephant level: platinum - id: Aardvark level: gold - id: Zebra level: gold - id: Fish level: gold - id: Cat level: silver - id: Dog level: silver ``` would output: ```text Gold sponsors in events/2024/test/main.yml are not sorted alphabetically by ID. ``` and so the user would change the "gold" sponsors ordering to the following, to fix the error: ```yaml - id: Aardvark level: gold - id: Fish level: gold - id: Zebra level: gold ``` I considered fixing the ordering in-place and pushing a commit to the user's PR, but fork PRs don't have a lot of permissions and I'm too tired to think about it seriously on top of organizing an actual conference, so that can maybe be a stretch goal for later.
- Loading branch information