Skip to content

Commit 774ee73

Browse files
committed
add fixed code
1 parent ecc63c3 commit 774ee73

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/manual_trigger_update_all.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,19 @@ jobs:
138138
python tools/ci/manual_bsp_build_all.py update
139139
140140
- name: Commit changes
141-
run: |
142-
git config user.name "supperthomas"
143-
git config user.email "[email protected]"
144-
git add . -u
145-
git commit -m "[action] Create PR for update all bsp"
146-
git push origin HEAD:development
147-
141+
uses: devops-infra/action-commit-push@master
142+
with:
143+
github_token: "${{ secrets.RTTHREAD_GITHUB_TOKEN }}"
144+
commit_prefix: "[AUTO]"
145+
commit_message: "Updated dependencies"
146+
force: false
147+
target_branch: updated_deps
148+
148149
- name: Create Pull Request
149150
uses: devops-infra/action-pull-request@master
150151
with:
151152
github_token: ${{ secrets.RTTHREAD_GITHUB_TOKEN }}
152153
title: "[action] Automated PR for updates"
153154
body: "This PR was created automatically by GitHub Actions."
154-
source_branch: development
155+
source_branch: updated_deps
155156
target_branch: master

0 commit comments

Comments
 (0)