Skip to content

Commit 209f2e1

Browse files
committed
do rebase in git-auto-commit-action
1 parent 4ed17f4 commit 209f2e1

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Python dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
pip install build twine pytest
31+
pip install build twine pytest pytest-asyncio
3232
3333
- name: Run tests
3434
run: |
@@ -115,8 +115,10 @@ jobs:
115115
uses: stefanzweifel/git-auto-commit-action@v5
116116
with:
117117
commit_message: 'chore: update PY version and publish'
118-
119118
file_pattern: 'python/setup.py python/.changeset/* python/package.json python/CHANGELOG.md'
119+
pull_strategy: 'rebase'
120+
# The action defaults to pushing to the branch that triggered the workflow (main)
121+
# It also uses the github-actions[bot] user by default
120122

121123
- name: Extract changelog text
122124
if: steps.version.outputs.has_changes == 'true'

.github/workflows/typescript-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ jobs:
8888
with:
8989
commit_message: 'chore: update TS version and publish'
9090
file_pattern: 'typescript/package.json typescript/.changeset/* typescript/CHANGELOG.md'
91+
pull_strategy: 'rebase'
92+
# The action defaults to pushing to the branch that triggered the workflow (main)
93+
# It also uses the github-actions[bot] user by default
9194

9295
- name: Extract changelog text
9396
if: steps.version.outputs.has_changes == 'true'

0 commit comments

Comments
 (0)