Skip to content

Commit 5e2b307

Browse files
committed
merge: 同步develop分支的工作流优化
2 parents c87e566 + 6509d44 commit 5e2b307

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/cmake-single-platform.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build documentation and pack
22
on:
33
workflow_dispatch:
44
push:
5-
branches: [ develop ]
5+
branches: [ develop, CMSIS-Pack ]
66
pull_request:
7-
branches: [ develop ]
7+
branches: [ develop, CMSIS-Pack ]
88
release:
99
types: [published]
1010
jobs:
@@ -48,12 +48,12 @@ jobs:
4848
if-no-files-found: warn
4949

5050
- name: Commit pack to repository
51-
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
51+
if: github.event_name == 'push' && github.ref == 'refs/heads/CMSIS-Pack'
5252
run: |
5353
git config user.name "github-actions[bot]"
5454
git config user.email "github-actions[bot]@users.noreply.github.com"
5555
git add cmsis-pack/*.pack
5656
if ! git diff --staged --quiet; then
5757
git commit -m "chore: Update CMSIS pack files [skip ci]"
58-
git push origin HEAD:develop
58+
git push origin HEAD:CMSIS-Pack
5959
fi
13 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)