Skip to content

Commit c7d4d98

Browse files
authored
Commit generated files automatically (#1686)
1 parent 04560fc commit c7d4d98

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Please complete the following before merging:
44

55
- [ ] Update changelog.
6-
- [ ] Make sure there are generated JSON files from the YAML test files.
76
- [ ] Test changes in at least one language driver.
87
- [ ] Test these changes against all server versions and topologies (including standalone, replica set, sharded
98
clusters, and serverless).

.github/workflows/json-regenerate-check.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ jobs:
3131
python3 ./source/client-side-encryption/etc/generate-test.py ./source/client-side-encryption/etc/test-templates/*.template ./source/client-side-encryption/tests/legacy
3232
python3 ./source/client-side-operations-timeout/etc/generate-basic-tests.py ./source/client-side-operations-timeout/etc/templates ./source/client-side-operations-timeout/tests
3333
python3 ./source/etc/generate-handshakeError-tests.py
34-
cd source && make -B && git diff --exit-code
34+
cd source && make -B
35+
36+
- name: "Commit the changes"
37+
uses: stefanzweifel/git-auto-commit-action@v5
38+
with:
39+
commit_message: "Update generated files"

0 commit comments

Comments
 (0)