Skip to content

Run the Enhance workflow only for pull requests targeting rolling - #7267

Merged
gbiggs merged 1 commit into
rollingfrom
fujitatomoya/enhance-rolling-only
Oct 7, 2026
Merged

gbiggs merged 1 commit into
rollingfrom
fujitatomoya/enhance-rolling-only

Conversation

@fujitatomoya

Copy link
Copy Markdown
Collaborator

pull_request_target workflows are evaluated from the default branch, so the workflow added in #6981 also runs for backport pull requests against the distro branches (e.g. #7252, #7266). Those branches do not have the ensure-enhancements Makefile target, so the catch-all rule fails with "No module named sphinx" and the check is red.

Restrict the trigger to the rolling base branch, which is what #6981 intended.

Description

Title: Run the Enhance workflow only for pull requests targeting rolling

pull_request_target workflows are evaluated from the default branch, so the workflow added in #6981 also runs for backport PRs against distro branches (e.g. #7252, #7266). Those branches have no ensure-enhancements Makefile target, so the catch-all rule fails with "No module named sphinx".

Restrict the trigger to the rolling base branch, as #6981 intended, and update tools/README.md to match.

Fixes # (issue)

Did you use Generative AI?

Yes, Claude Fable 5.1

Additional Information

pull_request_target workflows are evaluated from the default branch, so
the workflow added in #6981 also runs for backport pull requests against
the distro branches (e.g. #7252, #7266). Those branches do not have the
ensure-enhancements Makefile target, so the catch-all rule fails with
"No module named sphinx" and the check is red.

Restrict the trigger to the rolling base branch, which is what #6981
intended.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@fujitatomoya
fujitatomoya requested a review from gbiggs October 7, 2026 05:26
@fujitatomoya fujitatomoya self-assigned this Oct 7, 2026

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@gbiggs requesting review. i want to merge this patch into rolling in quick, otherwise all downstream backports are blocked.

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown

HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/37576266198/artifacts/11462492740.

To view the resulting site:

  1. Click on the above link to download the artifacts archive
  2. Extract it
  3. Open html-artifacts-7267/index.html in your favorite browser

@gbiggs
gbiggs merged commit 1f71127 into rolling Oct 7, 2026
7 checks passed
@gbiggs
gbiggs deleted the fujitatomoya/enhance-rolling-only branch October 7, 2026 05:43
fujitatomoya added a commit that referenced this pull request Oct 7, 2026
Empty commit so the Enhance workflow is re-evaluated with the
branches filter now on rolling.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants