Skip to content

enhancement(ci): for selfhosted workflows migrated to arc based runner#76

Merged
justlevine merged 1 commit into
mainfrom
enhancement/selfhosted-ghworkflows
Jul 10, 2026
Merged

enhancement(ci): for selfhosted workflows migrated to arc based runner#76
justlevine merged 1 commit into
mainfrom
enhancement/selfhosted-ghworkflows

Conversation

@dipankardas011

@dipankardas011 dipankardas011 commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

Ref: rtCamp/support#886

Why

Ref: https://github.com/rtCamp/support/issues/905#issuecomment-4913603327

Checklist

Open WordPress Playground Preview

Ref: rtCamp/support#886
Ref: rtCamp/support#905 (comment)

Signed-off-by: Dipankar Das <65275144+dipankardas011@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 10, 2026 05:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates the “private” CI/reusable workflows from GitHub-hosted/containerized execution to ARC-backed self-hosted runners, simplifying the job definitions while keeping the existing build/test flow intact.

Changes:

  • Switch multiple reusable workflows (and the private workflow test) to runs-on: [self-hosted] and drop the pinned actions-runner container usage.
  • Adjust wp-env configuration for ARC/DinD by moving WP_ENV_HOME and simplifying the plugin mapping update logic.
  • Remove various “cleanup workspace” steps that were previously needed for the containerized runner approach.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
.github/workflows/test-private-workflows.yml Moves the private-workflow test job to self-hosted execution.
.github/workflows/reusable-wp-playground-pr-preview.yml Runs the Playground PR preview job on self-hosted runners and removes container/extra setup.
.github/workflows/reusable-phpunit.yml Runs PHPUnit workflow on self-hosted and updates wp-env temp/home handling.
.github/workflows/reusable-phpstan.yml Runs PHPStan workflow on self-hosted and removes container/cleanup logic.
.github/workflows/reusable-phpcs.yml Runs PHPCS workflow on self-hosted and removes container/cleanup logic.
.github/workflows/reusable-lint-css-js.yml Runs JS/CSS lint workflow on self-hosted and removes container/cleanup logic.
.github/workflows/reusable-jest.yml Runs Jest workflow on self-hosted and removes container/cleanup logic.
.github/workflows/reusable-e2e.yml Runs Playwright E2E workflow on self-hosted and updates wp-env temp/home handling.
.github/workflows/reusable-build.yml Runs build workflow on self-hosted and updates wp-env temp/home handling.
.github/workflows/ci.yml Removes max-parallel: 1 from the PHPUnit matrix strategy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/reusable-phpunit.yml
Comment thread .github/workflows/reusable-e2e.yml
Comment thread .github/workflows/reusable-build.yml
@dipankardas011

Copy link
Copy Markdown
Contributor Author

@justlevine I cancelled the CI and CI (public workflows) and got the CI (private workflows) running Refer: https://github.com/rtCamp/plugin-skeleton-d/actions/runs/29072535225

So its all working 🚀

@justlevine justlevine left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Love it. Thanks so much @dipankardas011 🙇

@justlevine
justlevine merged commit 8b66589 into main Jul 10, 2026
30 of 35 checks passed
@justlevine
justlevine deleted the enhancement/selfhosted-ghworkflows branch July 10, 2026 15:17
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.

3 participants