Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 15, 2025

GH Actions: prepare the workflow for auto-generating output snippets

Run phpcs/phpcbf commands to auto-generate output blocks

GH Actions/basic QA: add shellcheck job

As this repo now contains a shell script to find & replace placeholders for output snippets in the wiki files with real output, let's also run a minimal QA check on the code of the shell script.

Refs:

jrfnl and others added 3 commits July 15, 2025 13:26
As this repo now contains a shell script to find & replace placeholders for output snippets in the wiki files with real output, let's also run a minimal QA check on the code of the shell script.

Refs:
* https://github.com/koalaman/shellcheck
* https://github.com/koalaman/shellcheck/wiki
Copy link

Thank you for your PR.
A dry-run has been executed on your PR, executing all markdown pre-processing for the wiki files.

Please review the resulting final markdown files via the created artifact.
This is especially important when adding new pages or updating auto-generated output blocks.

N.B.: the above link will automatically be updated when this PR is updated.

@jrfnl jrfnl changed the title Wiki/ghactions add automation for generating output examples GH Actions: add automation for generating output examples for the wiki Jul 15, 2025
@jrfnl
Copy link
Member Author

jrfnl commented Jul 15, 2025

Note: this PR needs to be squash-merged.

@jrfnl
Copy link
Member Author

jrfnl commented Jul 15, 2025

Note: once this PR has been merged, a follow-up PR will be pulled to the PHPCS repo to set up the triggering of a rebuild on releases.

@jrfnl jrfnl merged commit b54bf3b into main Jul 15, 2025
14 checks passed
@jrfnl jrfnl deleted the wiki/ghactions-add-automation-for-generating-output-examples branch July 15, 2025 21:08
@jrfnl
Copy link
Member Author

jrfnl commented Jul 15, 2025

Follow-up PR to the main PHPCS repo has been pulled: PHPCSStandards/PHP_CodeSniffer#1163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants