-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: move update pr script to actual script with tests #1684
Conversation
pull_number: context.issue.number, | ||
body: newBody, | ||
}); | ||
const updatePRDescription = require('./.github/workflows/scripts/update-pr-description.js'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved script from yml to scripts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 15 changed files in this pull request and generated 1 suggestion.
Files not reviewed (10)
- .github/workflows/scripts/tests/update-pr-description.test.ts: Evaluated as low risk
- .github/workflows/scripts/utils/bundle.js: Evaluated as low risk
- config-overrides.js: Evaluated as low risk
- .github/workflows/scripts/tests/results.test.ts: Evaluated as low risk
- .github/workflows/scripts/tests/test.test.ts: Evaluated as low risk
- .github/workflows/scripts/utils/test.js: Evaluated as low risk
- .github/workflows/scripts/utils/results.js: Evaluated as low risk
- .github/workflows/scripts/update-pr-description.js: Evaluated as low risk
- .github/workflows/quality.yml: Evaluated as low risk
- .github/workflows/scripts/utils/format.js: Evaluated as low risk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 15 changed files in this pull request and generated 1 suggestion.
Files not reviewed (10)
- .github/workflows/quality.yml: Evaluated as low risk
- config-overrides.js: Evaluated as low risk
- .github/workflows/scripts/utils/test.js: Evaluated as low risk
- tests/suites/tenant/queryEditor/queryTemplates.test.ts: Evaluated as low risk
- tests/suites/tenant/queryEditor/queryEditor.test.ts: Evaluated as low risk
- .github/workflows/scripts/tests/update-pr-description.test.ts: Evaluated as low risk
- .github/workflows/scripts/tests/types.ts: Evaluated as low risk
- .github/workflows/scripts/tests/test.test.ts: Evaluated as low risk
- .github/workflows/scripts/utils/format.js: Evaluated as low risk
- .github/workflows/scripts/utils/results.js: Evaluated as low risk
Comments skipped due to low confidence (1)
.github/workflows/scripts/update-pr-description.js:57
- The regex pattern used to replace the CI section might not handle edge cases well. Consider using a more robust pattern to ensure it matches the intended section accurately.
const ciSectionRegex = /## CI Results[\s\S]*?(?=\n## (?!CI Results)|$)/;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 15 changed files in this pull request and generated no suggestions.
Files not reviewed (10)
- .github/workflows/quality.yml: Evaluated as low risk
- .github/workflows/scripts/tests/format.test.ts: Evaluated as low risk
- tests/suites/tenant/queryEditor/queryEditor.test.ts: Evaluated as low risk
- .github/workflows/scripts/tests/update-pr-description.test.ts: Evaluated as low risk
- config-overrides.js: Evaluated as low risk
- .github/workflows/scripts/utils/test.js: Evaluated as low risk
- tests/suites/tenant/queryEditor/queryTemplates.test.ts: Evaluated as low risk
- .github/workflows/scripts/tests/types.ts: Evaluated as low risk
- .github/workflows/scripts/tests/test.test.ts: Evaluated as low risk
- .github/workflows/scripts/utils/format.js: Evaluated as low risk
Closes #1683
CI Results
Test Status: β PASSED
π Full Report
Test Changes Summary β¨3 ποΈ3
β¨ New Tests (3)
ποΈ Deleted Tests (3)
Bundle Size: β
Current: 66.10 MB | Main: 66.10 MB
Diff: 0.00 KB (0.00%)
β Bundle size unchanged.
βΉοΈ CI Information