Skip to content

Bump Microsoft.Extensions.Logging from 7.0.0 to 8.0.0 #248

Bump Microsoft.Extensions.Logging from 7.0.0 to 8.0.0

Bump Microsoft.Extensions.Logging from 7.0.0 to 8.0.0 #248

Workflow file for this run

name: Format check on push
on: push
jobs:
dotnet-format:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dotnet-format
run: dotnet tool install -g dotnet-format
- name: Run dotnet format
id: format
uses: jfversluis/dotnet-format@v1.0.5
with:
repo-token: $
action: "fix"
only-changed-files: true
- name: Commit files
if: steps.format.outputs.has-changes == 'true'
run: |
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git commit -a -m 'Automated dotnet-format update'
- name: Create Pull Request
if: steps.format.outputs.has-changes == 'true'
uses: peter-evans/create-pull-request@v3
with:
title: '[Bot] Automated PR to fix formatting errors'
body: |
Automated PR to fix formatting errors
committer: GitHub <noreply@github.com>
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
assignees: JiuLing-zhang
reviewers: JiuLing-zhang
branch: bot/fix-codeformatting