Skip to content

Commit

Permalink
ci: add workflow scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aetherinox committed Jul 11, 2024
1 parent b3d5d04 commit 94670f9
Show file tree
Hide file tree
Showing 5 changed files with 1,166 additions and 0 deletions.
95 changes: 95 additions & 0 deletions .github/changelog-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"categories": [
{
"title": "\n\n<br>\n\n#### 🪛 Continuous integration",
"labels": [ "kind/ci", "ci" ]
},
{
"title": "\n\n<br>\n\n#### 🚀 Features",
"labels": [ "kind/feature", "feature", "feat" ]
},
{
"title": "\n\n<br>\n\n#### 🐛 Bugfixes",
"labels": [ "kind/bug", "fix", "bug" ]
},
{
"title": "\n\n<br>\n\n#### 🔧 Changes",
"labels": [ "kind/chore", "change", "chore" ]
},
{
"title": "\n\n<br>\n\nn#### ✨ Optimizations",
"labels": [ "kind/perf", "optimization", "perf", "optimize" ]
},
{
"title": "\n\n<br>\n\n#### 🚨 Security ",
"labels": [ "kind/security", "security" ]
},
{
"title": "\n\n<br>\n\n#### 🧹 Housekeeping",
"labels": [ "kind/refactor", "refactor", "style" ]
},
{
"title": "\n\n<br>\n\n#### 🐒 Miscellaneous",
"labels": [ "kind/misc", "misc" ]
},
{
"title": "\n\n<br>\n\n#### ⛔ Deprecated",
"labels": [ "kind/deprecate", "deprecate" ]
},
{
"title": "\n\n<br>\n\n#### ⛔ Removed",
"labels": [ "kind/remove", "remove" ]
},
{
"title": "\n\n<br>\n\n#### 📦 Build & Dependencies",
"labels": [ "kind/build", "build", "dependency", "dep", "package" ]
},
{
"title": "\n\n<br>\n\n#### ✏️ Docs",
"labels": [ "kind/docs", "doc", "docs", "wiki" ]
},
{
"title": "\n\n<br>\n\n#### 🧪 Tests & Demo Vault",
"labels": [ "kind/test", "test", "tests", "vault" ]
}
],
"sort": "ASC",
"pr_template": "- ${{TITLE_ONLY}} : #{{MERGE_SHA}} @#{{AUTHOR}}",
"empty_template": "- No major changes to address in this release",
"custom_placeholders": [
{
"name": "TITLE_ONLY",
"source": "TITLE",
"transformer": {
"method": "regexr",
"pattern": "(\\w+(\\(.+\\))?: ?)?(.+)",
"target": "$2 $3"
}
}
],
"label_extractor": [
{
"pattern": "^(build|ci|change|chore|doc|docs|wiki|remove|deprecate|security|dependency|dep|package|feat|feature|fix|bug|perf|optimize|optimization|refactor|style|test|tests|vault):(.*)",
"target": "$1",
"on_property": "title"
},
{
"pattern": "^(build|ci|change|chore|doc|docs|wiki|remove|deprecate|security|dependency|dep|package|feat|feature|fix|bug|perf|optimize|optimization|refactor|style|test|tests|vault){1}(\\([\\w\\-\\.]+\\))?(!)?:(.*)",
"target": "$1",
"on_property": "title"
}
],
"duplicate_filter": {
"pattern": "github.*",
"on_property": "author",
"method": "match"
},
"max_tags_to_fetch": 200,
"max_pull_requests": 200,
"max_back_track_time_days": 365,
"exclude_merge_branches": [],
"tag_resolver": {
"method": "semver"
},
"base_branches": []
}
37 changes: 37 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# MIT License
#
# Copyright (c) 2024 Aetherinox
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
labels:
- "Type ◦ Dependency"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
labels:
- "Type ◦ Git Action"
45 changes: 45 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Number of labels to fetch (optional). Defaults to 100
numLabels: 40
# These labels will not be used even if the issue contains them (optional).
# Pass a blank array if no labels are to be excluded.
# excludeLabels: []
excludeLabels:
- pinned
# custom configuration to override default behaviour
# control explicitly what gets added and when
custom:
- location: title
keywords:
- '[roadmap]'
labels:
- Type ◦ Roadmap
- location: title
keywords:
- '[road-map]'
labels:
- Type ◦ Roadmap
- location: title
keywords:
- '[bug]'
labels:
- Type ◦ Bug
- location: title
keywords:
- '[issue]'
labels:
- Type ◦ Bug
- location: title
keywords:
- '[feature]'
labels:
- Type ◦ Feature
- location: body
keywords:
- 'request feature'
labels:
- Type ◦ Feature
- location: title
keywords:
- '[request]'
labels:
- Type ◦ Feature
Loading

0 comments on commit 94670f9

Please sign in to comment.