Skip to content

Commit

Permalink
Prettier em todos os arquivos via workflow dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 17, 2021
1 parent bef8108 commit 651bf66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Prettify Code

on:
push:
workflow_dispatch:

jobs:
prettier:
Expand All @@ -19,7 +20,7 @@ jobs:
with:
prettier_options: --write ./**/*.{js,jsx,ts,tsx,md,json,html,css,scss,java,yml}
same_commit: false
only_changed: true
only_changed: ${{ github.event.name == 'push' }}
commit_message: Prettified code
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 651bf66

Please sign in to comment.