Skip to content

Commit

Permalink
更新action
Browse files Browse the repository at this point in the history
  • Loading branch information
yuhe-win committed Mar 5, 2025
1 parent a42a15c commit bde43ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/save-readme.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Save README on Branch Push

on:
label:
types: [created, edited]
push:
branches:
- '**' # 监听所有分支的推送事件
- "**" # 监听所有分支的推送事件

jobs:
save-readme:
Expand Down Expand Up @@ -70,4 +72,4 @@ jobs:
cd target
git add .
git commit -m "Sync README from branch $BRANCH_NAME"
git push origin all-branch-info
git push origin all-branch-info

0 comments on commit bde43ef

Please sign in to comment.