Skip to content

Commit

Permalink
ci: A bunch of minor CI changes (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
EttyKitty authored Jan 4, 2025
1 parent d7f35d6 commit 5ec8e91
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"PR: Docs":
- changed-files:
- any-glob-to-all-files: ['docs/*', 'guides/*', '**/*.md']
- any-glob-to-any-file: ['docs/*', 'guides/*', '**/*.md']

"PR: Chore":
"PR: CI":
- changed-files:
- any-glob-to-all-files: ['.github/*', '**/*.yml', '.gitattributes', '.gitignore']
- any-glob-to-any-file: ['.github/*', '**/*.yml', '.gitattributes', '.gitignore']

"PR: JSON":
- changed-files:
- all-globs-to-all-files: ['**/*.json']
- all-globs-to-any-file: ['**/*.json']

"PR: Audio":
- changed-files:
Expand Down
12 changes: 4 additions & 8 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"LABEL": {
"name": "",
"color": "EEEEEE"
},
"CHECKS": {
"regexp": "(feat|fix|ci|chore|docs|test|refactor|revert)(\\([^\\)]+\\))?\\!?: .{1,}$|(?:Bump .+)$|^Release [0-9]+\\.[0-9]+\\.[0-9]+$|^Merge master into develop"
"regexp": "((feat|fix|ci|chore|docs|test|refactor|revert|style|perf|build)(\\(.*\\))?: )|Merge branch"
},
"MESSAGES": {
"failure": "Invalid PR Title. Please use the following formats: 'commit type(area of change(optional)): Title'. Refer to the list of [conventional commit types](https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types)."
}
"MESSAGES": {
"failure": "Invalid PR Title. Please use the following formats: `<type>(<optional-scope>): <Short summary>`. Refer to the list of [conventional commit types](https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types)."
}
}
17 changes: 12 additions & 5 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
<!--- PR title format should be "commit type: Title" -->
<!--- Commit types can be found at https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types -->
<!--- You can add "@sourcery-ai" into the title, so that the bot auto-generates a title -->
<!--- Related links: other PRs, Discord bug reports, messages, threads, outside docs, etc. -->

## Description of changes
-
## Reasons for changes
-
## Related links
-
## How have you tested your changes?
- [ ] Compile
- [ ] New game
- [ ] Next turn
- [ ] Space Travel
- [ ] Ground Battle

<!--- PR title format should be "<type>(<optional-scope>): <Short summary>" -->
<!--- Commit types can be found at https://github.com/pvdlg/conventional-commit-types?tab=readme-ov-file#commit-types -->
<!--- You can add "@sourcery-ai" into the title, so that the bot auto-generates a title -->
<!--- Related links: other PRs, Discord bug reports, messages, threads, outside docs, etc. -->
<!--- Tests are not required, but each applicable may speed up the review of the PR -->
14 changes: 9 additions & 5 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
# .github/release.yml

changelog:
exclude:
labels:
- "PR: Docs"
- "PR: Code Style"
- "PR: Chore"
- "PR: CI"

categories:
- title: Possibly Breaking Changes
labels:
- "PR: Breaking!"

- title: New/Changed
labels:
- "PR: Feature"
- "PR: Enhancement"
- "PR: Balance"
- "PR: Misc Change"

- title: Fixes
labels:
- "PR: Fix"

- title: Under The Hood - Important!
labels:
- "PR: Major Code Changes"

- title: Under The Hood
labels:
- "PR: Refactor"
- "PR: Performance"
- "PR: Code Style"
- "PR: Docs"
- "PR: CI"

- title: Other Changes
labels:
- "*"

0 comments on commit 5ec8e91

Please sign in to comment.