From d6d675262752a704b7ea725781a4687ad70feff5 Mon Sep 17 00:00:00 2001 From: supperthomas <78900636@qq.com> Date: Sat, 24 Aug 2024 12:56:46 +0000 Subject: [PATCH] add fixed code --- .github/workflows/manual_trigger_update_all.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/manual_trigger_update_all.yml b/.github/workflows/manual_trigger_update_all.yml index 2bab40c128..109e5ad4fb 100644 --- a/.github/workflows/manual_trigger_update_all.yml +++ b/.github/workflows/manual_trigger_update_all.yml @@ -138,18 +138,19 @@ jobs: python tools/ci/manual_bsp_build_all.py update - name: Commit changes - run: | - git config user.name "supperthomas" - git config user.email "78900636@qq.com" - git add . -u - git commit -m "[action] Create PR for update all bsp" - git push origin HEAD:development - + uses: devops-infra/action-commit-push@master + with: + github_token: "${{ secrets.RTTHREAD_GITHUB_TOKEN }}" + commit_prefix: "[AUTO]" + commit_message: "Updated dependencies" + force: false + target_branch: updated_deps + - name: Create Pull Request uses: devops-infra/action-pull-request@master with: github_token: ${{ secrets.RTTHREAD_GITHUB_TOKEN }} title: "[action] Automated PR for updates" body: "This PR was created automatically by GitHub Actions." - source_branch: development + source_branch: updated_deps target_branch: master \ No newline at end of file