Browse Source

Excludes workflow files from Prettier formatting

Prevents Prettier from formatting workflow files due to GitHub token restrictions, as the token used by the Prettier auto-commit action lacks permissions to update files within the `.github/workflows/` directory.
pull/4854/head
Daniel Gibbs 4 months ago
parent
commit
17dc48ed3b
Failed to extract signature
  1. 3
      .prettierignore

3
.prettierignore

@ -0,0 +1,3 @@
# Prettier auto-commit runs with GITHUB_TOKEN (GitHub App).
# GitHub blocks that token from creating/updating anything under .github/workflows.
.github/workflows/**
Loading…
Cancel
Save