Update dependency-check.yml

This commit is contained in:
fa-sharp
2026-02-20 03:03:02 -05:00
parent 673a53c34b
commit 19b1952d14

View File

@@ -234,13 +234,24 @@ jobs:
if: steps.upgrade.outputs.has_updates == 'true' if: steps.upgrade.outputs.has_updates == 'true'
permissions: permissions:
contents: write contents: write
run: >- run: |
cd "${{ env.GITHUB_WORKSPACE }}" && cd "${{ github.workspace }}"
tea pr create
--head "${{ github.actor }}:deps/auto-upgrade-${{ github.run_number }}" # Read the PR body from file
--base "${{ github.ref_name }}" PR_BODY=$(cat "${{ github.workspace }}/pr-body.txt")
--title "⬆️ Automated Dependency Upgrade"
--description "" # 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" --labels "deps/bot"
- name: Summary - name: Summary