diff --git a/.github/workflows/dotnet-format.yml b/.github/workflows/dotnet-format.yml index 70fcfacd..b41cdeef 100644 --- a/.github/workflows/dotnet-format.yml +++ b/.github/workflows/dotnet-format.yml @@ -3,8 +3,9 @@ name: .NET Format on: workflow_dispatch: pull_request: - paths-ignore: - - '**/*.md' + paths: + - '**.cs' + - '**.yml' # assume ci/cd pipeline files jobs: test: @@ -37,7 +38,7 @@ jobs: - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} + ref: ${{ github.head_ref }} - run: | git config user.name "github-actions[bot]" git config user.email "170472707+github-actions[bot]@users.noreply.github.com"