Skip to content

Commit

Permalink
I hope this fucking works
Browse files Browse the repository at this point in the history
  • Loading branch information
seionmoya committed Nov 13, 2024
1 parent 46c2023 commit c6ad1e3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup .NET
uses: actions/setup-dotnet@v4
Expand All @@ -38,8 +36,10 @@ jobs:
- name: .NET format
run: dotnet format --no-restore

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "CI/CD: format code"
file_pattern: '*.cs'
- uses: actions/checkout@v4
- run: |
git config user.name "github-actions[bot]"
git config user.email "170472707+github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "[skip CI] CI/CD: format code"
git push

0 comments on commit c6ad1e3

Please sign in to comment.