-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ci): add CI to check for invalid Preset config
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ REMOVE THIS TO WRITE YOUR OWN DESCRIPTION } | ||
|
||
## PR title rules | ||
|
||
- Should have an emoji so it's clear what it does from the list view | ||
- Should have a type (feat, fix, chore, ...) | ||
- Can have a subject (but it's not mandatory) | ||
|
||
## Available emojis | ||
|
||
- ✨ → New feature | ||
- 🐛 → Bug fix | ||
- ♻️ → Drastically rewrites a big percentage of the code or architecture | ||
- 🏗 → Add/update unit tests | ||
- 📦 → Dependency maintenance and/or internal script update | ||
- 📖 → Documentation update | ||
|
||
## Allowed types | ||
- chore | ||
- docs | ||
- feat | ||
- fix | ||
- refactor | ||
- test | ||
- tests | ||
- deploy | ||
- release | ||
|
||
## Don't do | ||
|
||
``` | ||
Feature: Add new time picker | ||
fix the thing that was not working | ||
``` | ||
|
||
## Do | ||
|
||
``` | ||
✨ feat(dashboard): add new time picker to stats view | ||
🐛 fix(access): don't register emails twice on mailchimp | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
tags: ['**'] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
validate: | ||
name: Validate Presets | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 2 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate Presets config | ||
uses: suzuki-shunsuke/[email protected] | ||
with: | ||
config_file_path: "*.json" |