Compare commits

...

3 Commits

Author SHA1 Message Date
fb0040cff0 chore(deps): update actions/checkout action to v4.2.2
Some checks failed
CI / ci (pull_request) Has been cancelled
2025-01-01 03:02:11 +00:00
f6d3ca2826 chore(config): migrate config renovate.json 2025-01-01 03:41:47 +01:00
597f4c572e
chore(ci): manually build changelog 2025-01-01 02:39:40 +00:00
3 changed files with 24 additions and 33 deletions

View File

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4.1.7 uses: actions/checkout@v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@ -30,7 +30,7 @@ jobs:
outputs: outputs:
latesttag: ${{ steps.latesttag.outputs.latesttag }} latesttag: ${{ steps.latesttag.outputs.latesttag }}
steps: steps:
- uses: actions/checkout@v4.1.7 - uses: actions/checkout@v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Get latest tag - name: Get latest tag
@ -54,7 +54,7 @@ jobs:
success: ${{ steps.set_flag.outputs.success }} success: ${{ steps.set_flag.outputs.success }}
# srvurl: ${{ steps.set_srvurl.outputs.srvurl }} # srvurl: ${{ steps.set_srvurl.outputs.srvurl }}
steps: steps:
- uses: actions/checkout@v4.1.7 - uses: actions/checkout@v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
@ -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

View File

@ -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": {