Skip to content

build: Consolidate GitHub Actions into a single ci.yml workflow - #44

Merged
arran4 merged 4 commits into
mainfrom
unified-ci-workflow-1024672718345057190
Jul 22, 2026
Merged

build: Consolidate GitHub Actions into a single ci.yml workflow#44
arran4 merged 4 commits into
mainfrom
unified-ci-workflow-1024672718345057190

Conversation

@arran4

@arran4 arran4 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

This change refactors the multiple GitHub Actions workflows (test.yaml and versioning.yaml) into a single, comprehensive .github/workflows/ci.yml.

It follows the "Simplified Single GitHub Actions CI/CD File" pattern from the provided technical blog reference:

  1. Implements the route job for event multiplexing and conditional job execution based on event types and refs.
  2. Implements a unified manual dispatch UI supporting lint-fix, build, and release-* modes, alongside explicit version overrides.
  3. Incorporates security scans (gitleaks, dependency-review).
  4. Implements an autofix PR generating lane and automatic cleanup.
  5. Smartly merges the repository's existing npm version and package publishing logic directly into the release lane, preserving the behavior of stable and -next development cycles while operating within the newly modeled event framework.

PR created automatically by Jules for task 1024672718345057190 started by @arran4

Replace test.yaml and versioning.yaml with a unified pipeline based on the
"Simplified Single GitHub Actions CI/CD File" pattern. Includes event
routing, autofix lanes, and integrated NPM versioning.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d905da30bb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml Outdated
1. `route` job: trigger release on push to `main` branch.
2. `version-and-release` job: properly preserve `preid` suffixes (rc, alpha)
   when resolving `npm version prerelease`.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2ae27ef2b5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
@arran4

arran4 commented Jul 22, 2026

Copy link
Copy Markdown
Owner Author

@jules remember to clean up your files like the .orig and .diff files

@google-labs-jules

Copy link
Copy Markdown
Contributor

@jules remember to clean up your files like the .orig and .diff files

Acknowledged. I've removed the .py scratchpad files.

…ew feedback

1. `concurrency`: do not cancel release capable runs (`main`, `master`, tags)
2. `autofix`: correctly fallback to `github.run_id` for `PARENT_PR` so that `cleanup-autofix-prs` can function on subsequent runs.
3. Cleaned up scratchpad files in the workspace.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98de00b01a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
1. Prevent `test-*` tags from entering the release lane.
2. Update the concurrency group for pushes so that queued main-branch
   version bumps are not superseded/cancelled by newer pushes.
3. Fail manual release dispatches when triggered on a non-default branch
   to prevent publishing unmerged features.

Co-authored-by: arran4 <111667+arran4@users.noreply.github.com>
@arran4
arran4 merged commit 926fceb into main Jul 22, 2026
7 checks passed
@arran4
arran4 deleted the unified-ci-workflow-1024672718345057190 branch July 22, 2026 05:07
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.

1 participant