We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f8daa1 + 67d54de commit df19b2eCopy full SHA for df19b2e
.github/workflows/format.yml
@@ -5,6 +5,9 @@ on:
5
push:
6
branches: [ "dev" ]
7
8
+permissions:
9
+ contents: write
10
+
11
jobs:
12
build:
13
@@ -19,10 +22,10 @@ jobs:
19
22
- name: Restore dependencies
20
23
run: dotnet restore
21
24
- name: Format
- run: dotnet format Style
25
+ run: dotnet format style
26
- name: Commit & Push
27
run: |
28
git config --global user.name "github-actions[bot]"
29
git config --global user.email "github-actions[bot]@user.noreply.github.com"
- git commit -a -m"formatted code"
- git push
30
+ git commit -a -m"formatted code" || true
31
+ git push
0 commit comments