Skip to content

Commit 28a5ae2

Browse files
committed
added one action more to push changelog commit
1 parent dae35bc commit 28a5ae2

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

.github/workflows/calens.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,3 @@ jobs:
2626
options: -v ${{github.workspace}}:/workspace -w /workspace
2727
image: toolhippie/calens:latest
2828
run: calens >| CHANGELOG.md
29-
- name: Commit files
30-
uses: stefanzweifel/git-auto-commit-action@v5
31-
with:
32-
commit_message: "docs: calens changelog updated"
33-
file_pattern: CHANGELOG.md

.github/workflows/commit.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Commit Changelog Changes
2+
on:
3+
push:
4+
paths:
5+
- CHANGELOG.md # Se activa cuando CHANGELOG.md cambia
6+
7+
jobs:
8+
commit:
9+
runs-on: ubuntu-22.04
10+
name: Commit changes
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Commit CHANGELOG.md
14+
uses: stefanzweifel/git-auto-commit-action@v5
15+
with:
16+
commit_message: "docs: calens changelog updated"
17+
file_pattern: CHANGELOG.md

0 commit comments

Comments
 (0)