From 19b1952d14091d937ce63e8aed0107aec57fcd19 Mon Sep 17 00:00:00 2001 From: fa-sharp Date: Fri, 20 Feb 2026 03:03:02 -0500 Subject: [PATCH] Update dependency-check.yml --- .github/workflows/dependency-check.yml | 27 ++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index dfd018e..36e2bc2 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -234,14 +234,25 @@ jobs: if: steps.upgrade.outputs.has_updates == 'true' permissions: contents: write - run: >- - cd "${{ env.GITHUB_WORKSPACE }}" && - tea pr create - --head "${{ github.actor }}:deps/auto-upgrade-${{ github.run_number }}" - --base "${{ github.ref_name }}" - --title "⬆️ Automated Dependency Upgrade" - --description "" - --labels "deps/bot" + run: | + cd "${{ github.workspace }}" + + # Read the PR body from file + PR_BODY=$(cat "${{ github.workspace }}/pr-body.txt") + + # Commit and push changes + git config user.name "Dependency Bot" + git config user.email "bot@gitea.actions" + git checkout -b "deps/auto-upgrade-${{ github.run_number }}" + git add Cargo.toml.liquid + git commit -m "chore: upgrade dependencies" + git push origin "deps/auto-upgrade-${{ github.run_number }}" + + # Create PR with description from file + tea pr create \ + --title "⬆️ Automated Dependency Upgrade" \ + --description "$PR_BODY" \ + --labels "deps/bot" - name: Summary if: success()