Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Dockerfile
README.md
entrypoint.sh
lib.sh

README.md

Prettier action

Validations on Push

This actions will check projects using Prettier

Fixes on Pull Request review

This action provides automated fixes using Pull Request review comments.

If the comment starts with fix $action_name or fix prettier, a new commit will be added to the branch with the automated fixes applied.

Supports: autofix on push

Example workflow

workflow "on push" {
  on = "push"
  resolves = ["prettier"]
}

# Used for fix on review
# Don't enable if you plan using autofix on push
# Or there might be race conditions
workflow "on review" {
  resolves = ["prettier"]
  on = "pull_request_review"
}

action "prettier" {
  uses = "bltavares/actions/prettier@master"
  # Enable autofix on push
  # args = ["autofix"]
  # Used for pushing changes for `fix` comments on review
  secrets = ["GITHUB_TOKEN"]
}
You can’t perform that action at this time.