ci: add automated PR for dep upgrades
This commit is contained in:
7
.github/workflows/dependency-check.yml
vendored
7
.github/workflows/dependency-check.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user