Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix validation of modified declarations #1066

Merged
merged 14 commits into from
Apr 8, 2024
2 changes: 2 additions & 0 deletions scripts/declarations/utils/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ async function setupRepository() {

declarationUtils = new DeclarationUtils(INSTANCE_PATH, 'main');
await declarationUtils.git.init();
await declarationUtils.git.addConfig('user.name', 'Open Terms Archive Testing Bot');
Ndpnt marked this conversation as resolved.
Show resolved Hide resolved
await declarationUtils.git.addConfig('user.email', 'bot@opentermsarchive.org');
await commitChanges('./README.md', 'This directory is auto-generated by test executions and requires cleanup after each test run');
await commitChanges(COMMIT_PATHS.serviceA, FIXTURES.serviceA.content);
await declarationUtils.git.checkoutLocalBranch('updated');
Expand Down
Loading