Skip to content

Commit

Permalink
Update action description and title
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Dec 9, 2024
1 parent 3dc7ece commit 9185cff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
[![Contributors](https://img.shields.io/github/contributors-anon/creyD/prettier_action)](https://github.com/creyD/prettier_action/graphs/contributors)
[![Issues](https://img.shields.io/github/issues/creyD/prettier_action)](https://github.com/creyD/prettier_action/issues)

A GitHub action for styling files with [prettier](https://prettier.io).
A GitHub action for styling files with [prettier](https://prettier.io) using Yarn.

This project is a fork off of [creyD/prettier_action](https://github.com/creyD/prettier_action) in order to use Yarn as the package manager during the plugin install rather than NPM.

## Usage

Expand Down Expand Up @@ -60,7 +62,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/[email protected]
uses: Andrews-McMeel-Universal/[email protected].1
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
Expand Down Expand Up @@ -89,7 +91,7 @@ jobs:
fetch-depth: 0

- name: Prettify code
uses: creyD/[email protected]
uses: Andrews-McMeel-Universal/[email protected].1
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,md}
Expand Down Expand Up @@ -119,7 +121,7 @@ jobs:
persist-credentials: false

- name: Prettify code
uses: creyD/[email protected]
uses: Andrews-McMeel-Universal/[email protected].1
with:
prettier_options: --write **/*.{js,md}
only_changed: True
Expand Down Expand Up @@ -150,7 +152,7 @@ jobs:
persist-credentials: false

- name: Prettify code
uses: creyD/[email protected]
uses: Andrews-McMeel-Universal/[email protected].1
with:
dry: True
github_token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: AMU Prettier Action
description: Automatically runs prettier on all your changes.
name: Yarn Prettier Action
description: Automatically runs prettier on all your changes. Uses Yarn as the package manager.

author: Ella Bronson <[email protected]>

Expand Down

0 comments on commit 9185cff

Please sign in to comment.