Compare commits
3 Commits
dc43ca7b53
...
1a0b74d64c
Author | SHA1 | Date | |
---|---|---|---|
1a0b74d64c | |||
f6d3ca2826 | |||
597f4c572e |
@ -21,7 +21,7 @@ pluggy==1.5.0
|
|||||||
pre-commit==4.0.1
|
pre-commit==4.0.1
|
||||||
pylint==3.2.6
|
pylint==3.2.6
|
||||||
pylint-exit==1.2.0
|
pylint-exit==1.2.0
|
||||||
pytest==8.3.3
|
pytest==8.3.4
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
setuptools==75.6.0
|
setuptools==75.6.0
|
||||||
tomlkit==0.13.2
|
tomlkit==0.13.2
|
||||||
|
@ -70,16 +70,12 @@ 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" >> "$GITEA_OUTPUT"
|
echo $CHANGES_FEAT" >> .changes_feat
|
||||||
echo "changes_fix=CHANGES_FIX" >> "$GITEA_OUTPUT"
|
echo $CHANGES_FIX" >> .changes_fix
|
||||||
echo "changes_dep=CHANGES_DEP" >> "$GITEA_OUTPUT"
|
echo $CHANGES_DEP" >> .changes_dep
|
||||||
echo "changes_other=CHANGES_OTHER" >> "$GITEA_OUTPUT"
|
echo $CHANGES_OTHER" >> .changes_other
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Create changelog
|
- name: Create changelog
|
||||||
@ -87,19 +83,14 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if test "${{ steps.changes.outputs.changes }}" = "true"
|
if test "${{ steps.changes.outputs.changes }}" = "true"
|
||||||
then
|
then
|
||||||
cat <<EOF >> changelog.md
|
printf "## 🚀 Features" > .changelog
|
||||||
## 🚀 Features
|
cat .changes_feat >> .changelog
|
||||||
$CHANGES_FEAT
|
printf "\n\n## 🐛 Bug Fixes" >> .changelog
|
||||||
|
cat .changes_fix >> .changelog
|
||||||
## 🐛 Bug Fixes
|
printf "\n\n## 📦 Dependencies" >> .changelog
|
||||||
$CHANGES_FIX
|
cat .changes_dep >> .changelog
|
||||||
|
printf "\n\n## 💬 Other" >> .changelog
|
||||||
## 📦 Dependencies
|
cat .changes_other >> .changelog
|
||||||
$CHANGES_DEP
|
|
||||||
|
|
||||||
## 💬 Other
|
|
||||||
$CHANGES_OTHER
|
|
||||||
EOF
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Set server URL
|
- name: Set server URL
|
||||||
@ -170,7 +161,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.md
|
body_path: .changelog
|
||||||
|
|
||||||
- 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:base"
|
"config:recommended"
|
||||||
],
|
],
|
||||||
"labels": [
|
"labels": [
|
||||||
"type/dependencies"
|
"type/dependencies"
|
||||||
@ -13,22 +13,22 @@
|
|||||||
"labels": [
|
"labels": [
|
||||||
"linting"
|
"linting"
|
||||||
],
|
],
|
||||||
"matchPackagePatterns": [
|
"matchPackageNames": [
|
||||||
"black",
|
"/black/",
|
||||||
"pylint"
|
"/pylint/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"labels": [
|
"labels": [
|
||||||
"unit-tests"
|
"unit-tests"
|
||||||
],
|
],
|
||||||
"matchPackagePatterns": [
|
"matchPackageNames": [
|
||||||
"coverage",
|
"/coverage/",
|
||||||
"pytest"
|
"/pytest/"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"platformCommit": true,
|
"platformCommit": "enabled",
|
||||||
"rebaseWhen": "behind-base-branch",
|
"rebaseWhen": "behind-base-branch",
|
||||||
"rollbackPrs": true,
|
"rollbackPrs": true,
|
||||||
"vulnerabilityAlerts": {
|
"vulnerabilityAlerts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user