mirror of
https://github.com/creyD/prettier_action.git
synced 2026-04-12 19:30:30 +02:00
700 B
700 B
GitHub Prettier Action
A GitHub action for styling files with prettier.
Usage
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
| prettier_options | ✅ | - | Prettier options |
| commit_options | ❌ | - | Custom git commit options |
| commit_message | ❌ | 'Prettified Code!' | Custom git commit message |
| file_pattern | ❌ | '*' | Custom git add file pattern |
| branch | ✅ | - | Custom git publish branch, use ${{ github.head_ref }} if used in pull requests |
Issues
Please report all bugs and feature request using the GitHub issues function.