Skip to content

Commit 5f5421c

Browse files
committed
ci: simplify job step
1 parent 7c033d5 commit 5f5421c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ jobs:
5151
with:
5252
commit: -S
5353
message: ${{ github.event.head_commit.message }}
54-
push: false
54+
push: --force
5555
env:
56-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57-
- name: Push commit
58-
run: git push -f
59-
shell: bash
56+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/changelog.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ jobs:
3939
with:
4040
commit: -S
4141
message: ${{ github.event.head_commit.message }}
42-
push: false
42+
push: --force
4343
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
- name: Push commit
46-
run: git push -f
47-
shell: bash
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)