Skip to content

Commit 64ce21a

Browse files
committed
get commit messages from upstream
1 parent 176c02c commit 64ce21a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/fpm-deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fpm-deployment
22

3-
on: [push, pull_request]
3+
on: [push, pull, pull_request]
44

55
jobs:
66
test:

.github/workflows/sync.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ jobs:
3232
run: |
3333
git merge upstream/master --allow-unrelated-histories --no-edit
3434
35+
- name: match upstream's commit message
36+
run: |
37+
MSG="$(git log -1 --pretty=%B upstream/master)"
38+
git commit --amend -m "$MSG"
39+
3540
- name: commit & push
3641
run: |
3742
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)