-
Notifications
You must be signed in to change notification settings - Fork 860
[Changelogs] Add check_changelogs bash script #9249
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
[Changelogs] Add check_changelogs bash script #9249
Conversation
ed60e17 to
0d481fb
Compare
|
this looks so much better than what we have currently! and with a fancy "+128 −130" balance, thank you @weronikaolejniczak 💚 I will do the grunty QA testing and scan the code! but it'd be nice if @tkajtoch could take a look as well |
bb2b99b to
7cb87f9
Compare
|
tested locally (in random order), at e558aed working nicely as expected! 🟢
|
|
Thank you, Arturo 🙏🏻 I appreciate your attention to detail 💚 |
Co-authored-by: Arturo Castillo Delgado <[email protected]>
a4664ff to
24e1247
Compare
24e1247 to
352b966
Compare
|
@tkajtoch thank you for your suggestions, we shaved off 26 lines 💪🏻 I updated the |
💚 Build SucceededHistory
|
💚 Build Succeeded
History
|
| needs: changelog-checks | ||
| runs-on: ubuntu-latest | ||
| if: always() | ||
| runs-on: ubuntu-slim |
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.
🎉
tkajtoch
left a comment
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.
The changes look great! Thanks for taking time to update the script
Summary
Why are we making this change?
The current
changelogjob:matrixstrategy spins up several VMs for every single package changed, and there's an overhead for runners - downloading actions, checking out code for a task that takes ms to execute,The proposed job:
Screenshots #
Impact to users
🟢 None. This is a CI change.
QA
Run the script:
Make sure your fork is not stale:
Testing scenarios
touch packages/eui/somefile.txttouch packages/eui/changelogs/upcoming/1234.md./scripts/check_changelogs.sh 1234 ""touch packages/eui/somefile.txt./scripts/check_changelogs.sh 1234 ""touch packages/eui/somefile.txt./scripts/check_changelogs.sh 1234 "skip-changelog"touch packages/eui/somefile.txt./scripts/check_changelogs.sh 1234 "skip-changelog-eui"touch packages/website/somefile.txt./scripts/check_changelogs.sh 1234 ""./scripts/check_changelogs.sh 1234 ""touch packages/eui/somefile.txttouch packages/eui-theme-borealis/somefile.txttouch packages/website/somefile.txttouch packages/eui/changelogs/upcoming/1234.md./scripts/check_changelogs.sh 1234 ""