-
Notifications
You must be signed in to change notification settings - Fork 198
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] Add path-filters and fix branches for check-docs #519
Conversation
paths: | ||
- '**.hpp' | ||
- '**.cpp' | ||
- '.github/workflows/humble-binary-build.yml' | ||
- '**/package.xml' | ||
- '**/CMakeLists.txt' | ||
- '**.xacro' | ||
- '**.py' | ||
- '**.yaml' | ||
- 'ros2_control_demos-not-released.humble.repos' |
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.
@christophfroehlich are these paths used to check for the changes in the files and then run the CI only if there are changes?
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.
exactly. if one changes only rst files, we don't run unnecessary CI checks.
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.
Awesome!
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.
@christophfroehlich Should we add these filters in other repos as well?. In case, we touch only the documentation, so it won't launch the unnecessary CI
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.
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 reasonable to me!
* Fix branches for check-docs * Fix iron * Add path filters * Include workflow file to paths filter (cherry picked from commit e6543df) # Conflicts: # .github/workflows/iron-check-docs.yml
* Fix branches for check-docs * Fix iron * Add path filters * Include workflow file to paths filter (cherry picked from commit e6543df)
* Fix branches for check-docs * Add path filters * Include workflow file to paths filter Co-authored-by: Christoph Fröhlich <[email protected]>
* Fix branches for check-docs * Add path filters * Include workflow file to paths filter (cherry picked from commit e6543df) Co-authored-by: Christoph Fröhlich <[email protected]>
rolling
instead ofmaster
for the reusable workflow.