update tasks

This commit is contained in:
OCram85 2024-05-13 11:05:43 +02:00
parent e055dce72a
commit ad27a64d57
4 changed files with 75 additions and 0 deletions

38
.changelog.yml Normal file
View File

@ -0,0 +1,38 @@
# The full repository name
repo: plugins/gitea-package
# Service type (gitea or github)
service: gitea
# Base URL for Gitea instance if using gitea service type (optional)
# Default: https://gitea.com
base-url: https://gitea.ocram85.com
# Changelog groups and which labeled PRs to add to each group
groups:
- name: 🐛 BUGFIXES
labels:
- bug
- name: ✨ FEATURES
labels:
- feature
- name: 🛠️ ENHANCEMENTS
labels:
- enhancement
- name: 📦 BUILD
labels:
- pipeline
- name: 🤖 DEPENDENCIES
labels:
- renovate
- name: 📚 DOCS
labels:
- docs
- name: ⚙️ META
labels:
- meta
- name: 🔖 MISC
default: true
# regex indicating which labels to skip for the changelog
skip-labels: skip-changelog|backport\/.+

37
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,37 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Update GiteaChangelog",
"type": "shell",
"command": [
"mv 'CHANGELOG.md' 'CHANGELOG.back' &&",
"changelog -m '${input:Milestone}' --token '${input:GiteaToken}' -c .changelog.yml generate > CHANGELOG.md &&",
"echo '' >> CHANGELOG.md &&",
"cat CHANGELOG.back >> CHANGELOG.md &&",
"rm CHANGELOG.back"
],
"problemMatcher": []
}
],
"inputs": [
{
"id": "GiteaToken",
"type": "command",
"command": "shellCommand.execute",
"args": {
"command": "echo $GITEA_TOKEN",
"description": "Your personal Gitea access token"
}
},
{
"id": "Milestone",
"type": "command",
"command": "shellCommand.execute",
"args": {
"description": "Select or enter a open milestone",
"command": "tea milestone ls -f title --output simple"
}
}
]
}

0
CHANGELOG.md Normal file
View File

0
gitea-package.sh Normal file → Executable file
View File