Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
check-circle

GitHub Action

noyobo/prettier-bot

v1.0.0

noyobo/prettier-bot

check-circle

noyobo/prettier-bot

Prettier pull request changed files

Installation

Copy and paste the following snippet into your .yml file.

              

- name: noyobo/prettier-bot

uses: noyobo/[email protected]

Learn more about this action in noyobo/prettier-bot

Choose a version

Prettier Bot

A GitHub action for styling changed files on pull_request

Usage

name: prettier-check

on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main

permissions:
  contents: read
  pull-requests: write
  issues: write

jobs:
  prettier-bot:
    name: Prettier Bot
    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v4

      - name: Prettier Bot
        uses: actions/prettier-bot@v1