Skip to content

Commit a56ab2f

Browse files
committed
Use bot account instead of GitHub Bot in actions
1 parent 2176f7c commit a56ab2f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/update_doc.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
- name: Create Pull Request
3535
uses: peter-evans/create-pull-request@v4.2.3
3636
with:
37+
token: ${{ secrets.BOT_PAT }}
3738
commit-message: Get changes from CPython Doc for ${{ github.ref_name }}
38-
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
39-
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
39+
author: python-docs-turkish <python.docs.tr@gmail.com>
40+
committer: python-docs-turkish <python.docs.tr@gmail.com>
4041
branch: translation-update-${{ github.ref_name }}
4142
delete-branch: true
4243
title: Translation Update ${{ github.ref_name }}

.github/workflows/wrap_branch.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,12 @@ jobs:
3333
- name: Create Pull Request
3434
uses: peter-evans/create-pull-request@v4.2.3
3535
with:
36+
token: ${{ secrets.BOT_PAT }}
3637
commit-message: 'Wrap all files on: ${{ github.ref_name }}'
3738
branch: ${{ github.ref_name }}-wrapped
3839
delete-branch: true
39-
committer: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
40-
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
40+
committer: python-docs-turkish <python.docs.tr@gmail.com>
41+
author: python-docs-turkish <python.docs.tr@gmail.com>
4142
title: 'Wrap branch: ${{ github.ref_name }}'
4243
body: 'Wrapped all files on branch: ${{ github.ref_name }}.'
4344
labels: wrap

0 commit comments

Comments
 (0)