Skip to content

Commit

Permalink
Update Format-Code.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 authored Jun 22, 2022
1 parent 61fc966 commit a78e251
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/Format-Code.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Format Code

on:
push:
branches: [ "main" ]
## Waiting until a prettier plugin for C# is available.
## https://github.com/warrenseine/prettier-plugin-csharp
# push:
# branches: [ "main" ]
workflow_dispatch:

jobs:
Expand All @@ -20,6 +22,7 @@ jobs:
with:
github_token: ${{ secrets.PAT }}
prettier_options: --write **/*.cs
#prettier_plugins:
same_commit: true
only_changed: true

0 comments on commit a78e251

Please sign in to comment.