-
Notifications
You must be signed in to change notification settings - Fork 206
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
[ci] Migrate CI from GitLab to GitHub #593
Conversation
paths: | ||
- ".github/workflows/backend*" | ||
- "backend/**" | ||
- "!frontend/**" |
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.
Is there a reason to exclude frontend
? These paths shouldn't collide, right?
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.
Not sure that there is a reason, it was done previously and I only copy-pasted this part.
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.
I would guess that the reason is so that PRs which make only frontend changes don't need to trigger any sort of backend related CI jobs.
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.
@mutantcornholio meant that "backend/**"
should be already enough to trigger backend workflow only for changes in backend path and "!frontend/**"
might be redundant.
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.
Oh I see! Yeah maybe it was just being extra sure or something then :D
United 4 backend workflows into one because now each job has its own cache and there is no need to divide them into separate workflows (was done here).
cc https://github.com/paritytech/ci_cd/issues/1053