Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 24 additions & 53 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,65 +242,36 @@ jobs:
# ######################################
# Plugin Check
# ######################################
# TEMPORARILY DISABLED — this job is a green no-op placeholder. The real
# plugin-check steps are commented out below (not deleted) so the job keeps
# its place in the pipeline and downstream `needs: [plugin-check]` stays
# satisfied; restore them in one edit once the upstream bug is fixed.
#
# `continue-on-error: true` was not enough: a failing-but-tolerated job still
# renders as a red ✗ in the GitHub UI. An early `exit 0` keeps it green while
# surfacing a warning annotation so the skip stays visible.
#
# TODO: re-enable the "Run plugin check" step (and delete the notice step)
# once WordPress/plugin-check-action#579 is fixed upstream. The action
# auto-generates a .wp-env.json that pulls plugin-check.zip via a URL; on
# Node 24.16 runners that download path trips a latent @wordpress/env bug, so
# `wp-env start` silently exits 0 and the check reports "Environment not
# initialized". Not caused by this repo.
# https://github.com/WordPress/plugin-check-action/issues/579
plugin-check:
name: Plugin Check
runs-on: ubuntu-22.04
needs: [build]

steps:
- name: Plugin Check temporarily skipped
run: |
echo "::warning title=Plugin Check skipped::Temporarily disabled pending WordPress/plugin-check-action#579. See the TODO in .github/workflows/main.yml."
{
echo "### ⚠️ Plugin Check temporarily skipped"
echo ""
echo "This job is a green no-op placeholder while [plugin-check-action#579](https://github.com/WordPress/plugin-check-action/issues/579) is fixed upstream."
echo "Re-enable the real step in \`.github/workflows/main.yml\`."
} >> "$GITHUB_STEP_SUMMARY"
exit 0

# TODO: restore the steps below (and remove the notice step above) once
# WordPress/plugin-check-action#579 is fixed upstream.
# - uses: actions/checkout@v6
#
# - name: Download artifact
# uses: actions/download-artifact@v8
# with:
# name: ${{ vars.WP_ORG_PLUGIN_NAME }}.zip
# path: /tmp
#
# - name: Unzip plugin ZIP
# run: unzip ${{ vars.WP_ORG_PLUGIN_NAME }}.zip
# working-directory: /tmp
#
# - name: Login to GitHub Container Registry
# uses: docker/login-action@v4
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Run plugin check
# uses: wordpress/plugin-check-action@v1
# with:
# build-dir: /tmp/${{ vars.WP_ORG_PLUGIN_NAME }}
# exclude-directories: 'vendor'
- uses: actions/checkout@v6

- name: Download artifact
uses: actions/download-artifact@v8
with:
name: ${{ vars.WP_ORG_PLUGIN_NAME }}.zip
path: /tmp

- name: Unzip plugin ZIP
run: unzip ${{ vars.WP_ORG_PLUGIN_NAME }}.zip
working-directory: /tmp

- name: Login to GitHub Container Registry
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Run plugin check
uses: wordpress/plugin-check-action@v1.1.7
with:
build-dir: /tmp/${{ vars.WP_ORG_PLUGIN_NAME }}
exclude-directories: 'vendor'

# ######################################
# PHPUnit Tests
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Contributors: beyondwords, stuartmcalpine
Donate link: https://beyondwords.io
Tags: text-to-speech, tts, audio, AI, voice cloning
Stable tag: 7.0.0-dev-2.0
Requires at least: 5.9
Requires PHP: 8.0
Tested up to: 7.0
License: GPLv2 or later
Expand Down
2 changes: 1 addition & 1 deletion speechkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Text Domain: speechkit
* Domain Path: /languages
* Requires PHP: 8.0
* Requires at least: 5.8
* Requires at least: 5.9
*/
// phpcs:enable

Expand Down
Loading