ci: bump actions to v5 and drop unused notify-discord workflow#2368
Conversation
|
📦 Next.js Bundle Analysis for @faustwp/getting-started-exampleThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
9ceeb8e to
e939920
Compare
Pins actions/checkout, actions/setup-node, actions/cache, and actions/upload-artifact to v5 across all workflows and the cache-restore composite action ahead of the 2026-06-02 Node 20 runtime cutover. Deletes notify-discord.yml. It triggered on push:tags but had zero historical runs (gh run list --workflow=notify-discord.yml -> []), because git push --tags from npm-publish.yml is authored by GITHUB_TOKEN and GitHub suppresses downstream workflow events for GITHUB_TOKEN-authored events. Since the workflow has never fired, nothing currently depends on it; remove rather than replace.
e939920 to
3ce0a7e
Compare
There was a problem hiding this comment.
Pull request overview
This PR modernizes the repository’s CI configuration by upgrading core GitHub Actions dependencies across workflows and removing an unused Discord notification workflow.
Changes:
- Bump
actions/checkout,actions/setup-node,actions/cache, andactions/upload-artifactusages to@v5across the affected workflows and composite action. - Remove the unused
.github/workflows/notify-discord.ymlworkflow.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/unit-test-plugin.yml | Update checkout action to actions/checkout@v5 for plugin unit tests. |
| .github/workflows/unit-test-plugin-nightly.yml | Update checkout action to actions/checkout@v5 for nightly plugin tests. |
| .github/workflows/unit-test-packages.yml | Update checkout + setup-node actions to @v5 for package tests. |
| .github/workflows/sonarqube-scan.yml | Update checkout action to actions/checkout@v5 for SonarQube scanning. |
| .github/workflows/release-packages.yml | Update checkout + setup-node actions to @v5 for release automation. |
| .github/workflows/npm-publish.yml | Update checkout + setup-node actions to @v5 for publish workflow. |
| .github/workflows/node-setup.yml | Update checkout action to actions/checkout@v5 for reusable Node setup workflow. |
| .github/workflows/nextjs-bundle-analysis.yml | Update checkout/setup-node/cache/upload-artifact actions to @v5. |
| .github/workflows/lint-plugin.yml | Update checkout action to actions/checkout@v5 for plugin linting. |
| .github/workflows/e2e-nightly-build.yml | Update checkout + setup-node actions to @v5 for nightly e2e. |
| .github/workflows/e2e-next-faustwp-example.yml | Update checkout + setup-node actions to @v5 for PR e2e. |
| .github/workflows/check-packages.yml | Update checkout action to actions/checkout@v5 for package quality checks. |
| .github/actions/cache-restore/action.yml | Update setup-node + cache actions to @v5 in composite action. |
| .github/workflows/notify-discord.yml | Removed unused Discord notification workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updates GitHub Actions to a newer version across our workflows, and removes a Discord notification workflow that has never run.