Skip to content

Commit 23c2523

Browse files
committed
Use mongodb-drivers-pr-bot to commit and push CS fixes
1 parent 5d53fff commit 23c2523

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/coding-standards.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,15 @@ jobs:
1414
runs-on: "ubuntu-22.04"
1515

1616
permissions:
17-
# Give the default GITHUB_TOKEN write permission to commit and push the
18-
# added or changed files to the repository.
17+
id-token: write
1918
contents: write
2019

2120
steps:
22-
- name: "Checkout"
23-
uses: "actions/checkout@v4"
21+
- name: "Generate token and checkout repository"
22+
uses: mongodb-labs/drivers-github-tools/secure-checkout@v2
23+
with:
24+
app_id: ${{ vars.PR_APP_ID }}
25+
private_key: ${{ secrets.PR_APP_PRIVATE_KEY }}
2426

2527
- name: "Setup cache environment"
2628
id: "extcache"
@@ -65,8 +67,6 @@ jobs:
6567
uses: stefanzweifel/git-auto-commit-action@v5
6668
with:
6769
commit_message: "Apply PHP CS fixes"
68-
commit_user_name: 'mongodb-dbx-release-bot'
69-
commit_user_email: '167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com'
70-
commit_author: 'mongodb-php-bot <167856002+mongodb-dbx-release-bot[bot]@users.noreply.github.com>'
71-
72-
70+
commit_user_name: 'mongodb-drivers-pr-bot[bot]'
71+
commit_user_email: '124201131+mongodb-drivers-pr-bot[bot]@users.noreply.github.com'
72+
commit_author: 'mongodb-drivers-pr-bot[bot] <124201131+mongodb-drivers-pr-bot[bot]@users.noreply.github.com>'

0 commit comments

Comments
 (0)