Compare commits
1 Commits
1a0b74d64c
...
dc43ca7b53
Author | SHA1 | Date | |
---|---|---|---|
dc43ca7b53 |
@ -70,12 +70,16 @@ jobs:
|
|||||||
if [ -z "$CHANGES" ]
|
if [ -z "$CHANGES" ]
|
||||||
then
|
then
|
||||||
echo "changes=false" >> "$GITEA_OUTPUT"
|
echo "changes=false" >> "$GITEA_OUTPUT"
|
||||||
|
echo "changes_feat=false" >> "$GITEA_OUTPUT"
|
||||||
|
echo "changes_fix=false" >> "$GITEA_OUTPUT"
|
||||||
|
echo "changes_dep=false" >> "$GITEA_OUTPUT"
|
||||||
|
echo "changes_other=false" >> "$GITEA_OUTPUT"
|
||||||
else
|
else
|
||||||
echo "changes=true" >> "$GITEA_OUTPUT"
|
echo "changes=true" >> "$GITEA_OUTPUT"
|
||||||
echo $CHANGES_FEAT" >> .changes_feat
|
echo "changes_feat=CHANGES_FEAT" >> "$GITEA_OUTPUT"
|
||||||
echo $CHANGES_FIX" >> .changes_fix
|
echo "changes_fix=CHANGES_FIX" >> "$GITEA_OUTPUT"
|
||||||
echo $CHANGES_DEP" >> .changes_dep
|
echo "changes_dep=CHANGES_DEP" >> "$GITEA_OUTPUT"
|
||||||
echo $CHANGES_OTHER" >> .changes_other
|
echo "changes_other=CHANGES_OTHER" >> "$GITEA_OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create changelog
|
- name: Create changelog
|
||||||
@ -83,14 +87,19 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if test "${{ steps.changes.outputs.changes }}" = "true"
|
if test "${{ steps.changes.outputs.changes }}" = "true"
|
||||||
then
|
then
|
||||||
printf "## 🚀 Features" > .changelog
|
cat <<EOF >> changelog.md
|
||||||
cat .changes_feat >> .changelog
|
## 🚀 Features
|
||||||
printf "\n\n## 🐛 Bug Fixes" >> .changelog
|
$CHANGES_FEAT
|
||||||
cat .changes_fix >> .changelog
|
|
||||||
printf "\n\n## 📦 Dependencies" >> .changelog
|
## 🐛 Bug Fixes
|
||||||
cat .changes_dep >> .changelog
|
$CHANGES_FIX
|
||||||
printf "\n\n## 💬 Other" >> .changelog
|
|
||||||
cat .changes_other >> .changelog
|
## 📦 Dependencies
|
||||||
|
$CHANGES_DEP
|
||||||
|
|
||||||
|
## 💬 Other
|
||||||
|
$CHANGES_OTHER
|
||||||
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Set server URL
|
- name: Set server URL
|
||||||
@ -161,7 +170,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag: ${{ steps.get_next_version.outputs.tag }}
|
tag: ${{ steps.get_next_version.outputs.tag }}
|
||||||
name: ${{ steps.get_next_version.outputs.tag }}
|
name: ${{ steps.get_next_version.outputs.tag }}
|
||||||
body_path: .changelog
|
body_path: changelog.md
|
||||||
|
|
||||||
- name: Set success/fail flag
|
- name: Set success/fail flag
|
||||||
id: set_flag
|
id: set_flag
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"assigneesFromCodeOwners": true,
|
"assigneesFromCodeOwners": true,
|
||||||
"dependencyDashboardAutoclose": true,
|
"dependencyDashboardAutoclose": true,
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:base"
|
||||||
],
|
],
|
||||||
"labels": [
|
"labels": [
|
||||||
"type/dependencies"
|
"type/dependencies"
|
||||||
@ -13,22 +13,22 @@
|
|||||||
"labels": [
|
"labels": [
|
||||||
"linting"
|
"linting"
|
||||||
],
|
],
|
||||||
"matchPackageNames": [
|
"matchPackagePatterns": [
|
||||||
"/black/",
|
"black",
|
||||||
"/pylint/"
|
"pylint"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"labels": [
|
"labels": [
|
||||||
"unit-tests"
|
"unit-tests"
|
||||||
],
|
],
|
||||||
"matchPackageNames": [
|
"matchPackagePatterns": [
|
||||||
"/coverage/",
|
"coverage",
|
||||||
"/pytest/"
|
"pytest"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"platformCommit": "enabled",
|
"platformCommit": true,
|
||||||
"rebaseWhen": "behind-base-branch",
|
"rebaseWhen": "behind-base-branch",
|
||||||
"rollbackPrs": true,
|
"rollbackPrs": true,
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user