Skip to content

Allow the ret-turkey workflow to run on all branches - #756

Merged
Exairnous merged 1 commit into
Hubs-Foundation:masterfrom
Exairnous:remove-ret-turkey-branch-restrictions
Jul 20, 2026
Merged

Exairnous merged 1 commit into
Hubs-Foundation:masterfrom
Exairnous:remove-ret-turkey-branch-restrictions

Conversation

@Exairnous

Copy link
Copy Markdown
Member

What?

Removes the restriction that only the master branch and branches starting with hotfix/ will trigger the ret-turkey workflow.

Why?

The build job in turkeyGitops that ret-turkey calls is useful for all branches (it tests whether the code builds, but doesn't try to push anything) and the tag jobs that push Docker images are restricted to the correct branches in turkeyGitops, so restricting the branches here in the calling workflow is no longer needed/helpful.

Examples

N/A

How to test

  1. Push the updated workflow to the master branch on your fork.
  2. Push up another branch containing the modified workflow (and some other change to a non-ignored file), that doesn't conform to the previously allowed naming scheme.
  3. See that the workflow runs for the new branch and completes the build job (but no others).

Documentation of functionality

This workflow isn't currently documented, so there isn't any documentation to update, plus this change makes it consistent with all the other workflows that call turkeyGitops.

Known limitations

This PR doesn't change any of the ignored paths. The ignored paths aren't entirely consistent across the calling workflows for turkeyGitops and changing them wasn't discussed, so they are deemed out of scope for this PR.

Alternative implementations considered

None.

Open questions

None.

Additional details or related context

The branch restrictions were originally put in place in #731 before turkeyGitops had been updated to have the restrictions itself in Hubs-Foundation/hubs-ops#210.

This change was discussed at the 2026-07-07 Hubs Dev Meetup.

What: removes the restriction that only the `master` branch and branches starting with `hotfix/` will trigger the ret-turkey workflow.

Why: the build job in turkeyGitops that ret-turkey calls is useful for  all branches (it tests whether the code builds, but doesn't try to push anything) and the tag jobs that push Docker images are restricted to the correct branches in turkeyGitops, so restricting the branches here in the calling workflow is no longer needed/helpful.

Note: the branch restrictions were originally put in place in Hubs-Foundation#731 before turkeyGitops had been updated to have the restrictions itself in Hubs-Foundation/hubs-ops#210.
@github-actions

Copy link
Copy Markdown

Thank you for the pull request.

ROADMAP STATUS: This pull request isn't currently on any roadmap. Updates will be conveyed here as its place on/off a roadmap changes.

You can view the roadmaps here: Roadmaps Google Drive folder.

For more information on how the roadmaps work, see our roadmaps policy on GitHub.

@DougReeder DougReeder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@Exairnous

Copy link
Copy Markdown
Member Author

@DougReeder This PR didn't need rebasing and has already been approved, so I'm merging it.

@Exairnous
Exairnous merged commit fc02d98 into Hubs-Foundation:master Jul 20, 2026
2 checks passed
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