ci: add automated PR for dep upgrades

This commit is contained in:
fa-sharp
2026-02-20 00:10:02 -05:00
parent 4159d0d7ff
commit c0828867bd
6 changed files with 99 additions and 4 deletions

View File

@@ -93,10 +93,11 @@ jobs:
run: |
echo "📝 Updating template with new dependency versions..."
# Copy the upgraded Cargo.toml back to template
cp ../dep-check-test/Cargo.toml Cargo.toml.liquid
# Run the merge script from .ci directory
python3 .ci/merge_versions.py dep-check-test/Cargo.toml Cargo.toml.liquid
# Show what changed
echo ""
echo "Changes to template:"
git diff Cargo.toml.liquid
working-directory: ${{ github.workspace }}/axum-template
@@ -161,7 +162,7 @@ jobs:
UPGRADE_SUMMARY=$(cat upgrade-output.txt | grep -A 100 "name.*old req.*compatible.*latest.*new req" | head -n 20)
cat > pr-body.txt << 'EOF'
This PR contains automated dependency upgrades that have been tested and verified.
This PR contains automated dependency upgrades that have been tested with `cargo check` and `cargo build`
## Changes