Skip to content

Commit 4ae3f6b

Browse files
authored
Update on_pull_request_main.yml
1 parent 3095037 commit 4ae3f6b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/on_pull_request_main.yml

+10-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,18 @@ jobs:
5050
# Configura changelog
5151
# npm run version
5252
# npm run version-json
53-
- name: Changelog configuration
53+
- name: Fetch
5454
run: |
5555
git fetch --prune
56-
git --no-pager log --pretty=format:'%n{%n %x22commit%x22: %x22%H%x22,%n %x22author%x22: %x22%an%x22,%n %x22author_email%x22: %x22%ae%x22,%n %x22date%x22: %x22%ad%x22,%n %x22message%x22: %x22%f%x22%n},' > logs/changelog-data.json
56+
57+
- name: Log
58+
run: |
59+
git --no-pager log --pretty=format:'%n{%n %x22commit%x22: %x22%H%x22,%n %x22author%x22: %x22%an%x22,%n %x22author_email%x22: %x22%ae%x22,%n %x22date%x22: %x22%ad%x22,%n %x22message%x22: %x22%f%x22%n},' > logs/changelog-data.json
60+
61+
- name: Commit
62+
run: |
63+
git add .
64+
git commit -m "${{ steps.package-version.outputs.current-version }}"
5765
5866
# Push repository changes
5967
- name: Push changes to repository

0 commit comments

Comments
 (0)