Skip to content

refactor: add github actions#225

Merged
miguelpeixe merged 43 commits intotrunkfrom
refactor/deprecate-circle-ci
Jan 30, 2026
Merged

refactor: add github actions#225
miguelpeixe merged 43 commits intotrunkfrom
refactor/deprecate-circle-ci

Conversation

@miguelpeixe
Copy link
Member

@miguelpeixe miguelpeixe commented Jan 22, 2026

Implements our automated workflows in Github Actions, replacing the CircleCI integration.

This should be tested in each repo before merging:

For now, repos should reference this branch. After tests are complete and this is merged, we should remove the branch reference to rely on the default branch. E.g.: Automattic/newspack-scripts/.github/workflows/reusable-build.yml@refactor/deprecate-circle-ci

@miguelpeixe miguelpeixe marked this pull request as ready for review January 26, 2026 15:42
@miguelpeixe miguelpeixe requested a review from a team as a code owner January 26, 2026 15:42
Copy link
Member

@rbcorrales rbcorrales left a comment

Choose a reason for hiding this comment

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

Looks good! Just a few minor comments and possible improvements.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request refactors the CI/CD infrastructure from CircleCI to GitHub Actions, replacing the CircleCI orb with reusable GitHub Actions workflows.

Changes:

  • Removed all CircleCI configuration files (orb definitions, jobs, executors, commands, and .circleci/config.yml)
  • Added 11 reusable GitHub Actions workflow files for PHP/JS testing, linting, building, releasing, documentation generation, and i18n
  • Updated scripts/release.js and post-release.sh to use GitHub Actions environment variables instead of CircleCI variables

Reviewed changes

Copilot reviewed 31 out of 31 changed files in this pull request and generated 17 comments.

Show a summary per file
File Description
src/jobs/*.yml Removed CircleCI job definitions for test-php, test-js, lint-php, lint-js-scss, i18n, generate-docs, check-typescript, build, build-distributable, release, and post-release
src/executors/*.yml Removed CircleCI executor definitions
src/commands/*.yml Removed CircleCI command definitions
src/@orb.yml Removed CircleCI orb configuration
.circleci/config.yml Removed main CircleCI configuration file
.github/workflows/reusable-test-php.yml Added reusable workflow for PHP testing with PHPUnit and Codecov integration
.github/workflows/reusable-test-js.yml Added reusable workflow for JavaScript testing
.github/workflows/reusable-release.yml Added reusable workflow for creating releases with semantic-release
.github/workflows/reusable-post-release.yml Added reusable workflow for post-release branch management
.github/workflows/reusable-lint-php.yml Added reusable workflow for PHP linting with PHPCS
.github/workflows/reusable-lint-js-scss.yml Added reusable workflow for JS/SCSS linting
.github/workflows/reusable-i18n.yml Added reusable workflow for translation file generation
.github/workflows/reusable-generate-docs.yml Added reusable workflow for PHPDoc generation
.github/workflows/reusable-check-typescript.yml Added reusable workflow for TypeScript validation
.github/workflows/reusable-build.yml Added reusable workflow for installing Node dependencies
.github/workflows/reusable-build-distributable.yml Added reusable workflow for building distributable archives
.github/workflows/release.yml Added release workflow for the newspack-scripts repository itself
scripts/release.js Updated to use GITHUB_REPOSITORY environment variable and disabled PR comments temporarily
post-release.sh Updated git push URLs to use GITHUB_REPOSITORY environment variable

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

@miguelpeixe miguelpeixe changed the title refactor: move to github actions refactor: add github actions Jan 30, 2026
@miguelpeixe miguelpeixe merged commit 65fb7e1 into trunk Jan 30, 2026
1 check passed
@matticbot
Copy link

🎉 This PR is included in version 5.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@miguelpeixe miguelpeixe deleted the refactor/deprecate-circle-ci branch February 5, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants