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

[CI] Add path-filters and fix branches for check-docs #519

Merged
merged 4 commits into from
May 14, 2024

Conversation

christophfroehlich
Copy link
Contributor

@christophfroehlich christophfroehlich commented May 13, 2024

  • Add path filters to all build jobs
  • Since Add jazzy control.ros.org#293 we need to specify rolling instead of master for the reusable workflow.
  • I also added the correct versions for the other distros now.

@christophfroehlich christophfroehlich changed the title Fix branches for check-docs [CI] Add path-filters and fix branches for check-docs May 13, 2024
Comment on lines +8 to +17
paths:
- '**.hpp'
- '**.cpp'
- '.github/workflows/humble-binary-build.yml'
- '**/package.xml'
- '**/CMakeLists.txt'
- '**.xacro'
- '**.py'
- '**.yaml'
- 'ros2_control_demos-not-released.humble.repos'
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@saikishor saikishor left a 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!

@christophfroehlich christophfroehlich merged commit e6543df into master May 14, 2024
8 of 15 checks passed
@christophfroehlich christophfroehlich deleted the check_doc_action branch May 14, 2024 11:54
mergify bot pushed a commit that referenced this pull request May 14, 2024
* 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
mergify bot pushed a commit that referenced this pull request May 14, 2024
* Fix branches for check-docs

* Fix iron

* Add path filters

* Include workflow file to paths filter

(cherry picked from commit e6543df)
christophfroehlich added a commit that referenced this pull request May 14, 2024
* Fix branches for check-docs

* Add path filters

* Include workflow file to paths filter

Co-authored-by: Christoph Fröhlich <[email protected]>
christophfroehlich added a commit that referenced this pull request May 14, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants