Skip to content

Commit b969fb6

Browse files
committed
Use internal driver tools to commit change
1 parent 8a97876 commit b969fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/coding-standards.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: "Run PHP_CodeSniffer"
6464
run: "vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
6565

66-
- name: "Commit the changes"
67-
uses: stefanzweifel/git-auto-commit-action@v5
66+
- name: Commit CS fixes
67+
uses: mongodb-labs/drivers-github-tools/git-sign@v2
6868
with:
69-
commit_message: "apply phpcbf formatting"
69+
command: "[[ -n $(git status -s) ]] && git commit -a -m \"Apply CS fixes\" -s --gpg-sign=${{ env.GPG_KEY_ID }} && git push origin"

0 commit comments

Comments
 (0)