Skip to content

Conversation

@google-labs-jules
Copy link
Contributor

This change adds a new GitHub Actions workflow to manually format code with Prettier. It includes the workflow file, documentation, and an update to the documentation index.

This commit introduces a new GitHub Actions workflow that allows for manual code formatting using Prettier.

The workflow is located at `.github/workflows/prettier.yml` and is triggered by the `workflow_dispatch` event. When run, it checks out the code, installs dependencies, and executes `npx prettier --write .` to format all files in the repository. If any changes are made, they are automatically committed back to the branch the workflow was run on.

In addition to the workflow itself, this change includes:
- Documentation for the new workflow at `docs/prettier-workflow.md`.
- An update to `docs/README.md` to make the new documentation discoverable.
@attogram attogram marked this pull request as ready for review August 31, 2025 11:12
@attogram attogram merged commit 7c8ca48 into main Aug 31, 2025
1 check passed
@attogram attogram deleted the feature/manual-prettier-workflow branch August 31, 2025 11:47
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.

2 participants