Skip to content

Drop GHA from common/#138

Merged
cgwalters merged 1 commit intobootc-dev:mainfrom
cgwalters:drop-rebase-action
Mar 13, 2026
Merged

Drop GHA from common/#138
cgwalters merged 1 commit intobootc-dev:mainfrom
cgwalters:drop-rebase-action

Conversation

@cgwalters
Copy link
Contributor

There's a fundamental conflict between:

  • Copying GHA workflows from here into repos
  • Updating GHA via renovate

We previously had to hackily exclude the GHA in this repo from the renovate config.

It's just cleaner to do GHA reuse the more "native" Github way by publishing composite actions, which we're doing in bootc-dev/actions now (for scorecard for example).

The rebase action isn't but it was broken anyways because of permissions, let's drop it and we can reintroduce it at some point if needed, but honestly since many rebases need code changes anyways it's cleaner to just defer that to humans.

There's a fundamental conflict between:

- Copying GHA workflows from here into repos
- Updating GHA via renovate

We previously had to hackily exclude the GHA in this repo
from the renovate config.

It's just cleaner to do GHA reuse the more "native" Github
way by publishing composite actions, which we're doing in
bootc-dev/actions now (for scorecard for example).

The rebase action isn't but it was broken anyways because
of permissions, let's drop it and we can reintroduce it
at some point if needed, but honestly since many rebases
need code changes anyways it's cleaner to just defer that
to humans.

Signed-off-by: Colin Walters <walters@verbum.org>
@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors the management of GitHub Actions workflows by removing them from the 'common/' directory. This change addresses a fundamental conflict with Renovate's update mechanism and shifts towards a more robust and native GitHub approach for workflow reuse through composite actions. Additionally, a previously broken automatic rebase workflow has been removed, favoring manual intervention for rebase operations.

Highlights

  • GitHub Actions Workflow Management: Eliminated GitHub Actions workflows from the 'common/' directory to resolve conflicts with Renovate and streamline GHA reuse.
  • Workflow Reuse Strategy: Transitioned to a more native GitHub approach for GHA reuse by publishing composite actions, as exemplified by 'bootc-dev/actions'.
  • Automatic Rebase Workflow: Removed the 'rebase.yml' workflow due to existing breakage and a preference for manual rebase operations, which often require human intervention.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • common/.github/workflows/openssf-scorecard-gate.yml
    • Removed the OpenSSF Scorecard gate workflow, as its functionality is now handled via composite actions.
  • common/.github/workflows/rebase.yml
    • Removed the automatic rebase workflow, which was previously non-functional and is being replaced by manual rebase processes.
Activity
  • No specific review comments or activity have been recorded for this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@cgwalters cgwalters enabled auto-merge (squash) March 13, 2026 17:22
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the openssf-scorecard-gate.yml and rebase.yml GitHub Actions workflows from the common/ directory. This change addresses a conflict between the file-copying synchronization method and automated dependency updates via Renovate. The new approach favors reusable composite actions, which is a more standard and maintainable way to share GitHub Actions logic. The rebase workflow is also being removed because it was non-functional and manual intervention is often required for rebases anyway. The file deletions are a logical step in this strategic shift.

@cgwalters cgwalters merged commit 7b39639 into bootc-dev:main Mar 13, 2026
3 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