diff --git a/.github/workflows/dotnet-format-daily-net7.yml b/.github/workflows/dotnet-format-daily-net7.yml deleted file mode 100644 index 48d6886c66b9..000000000000 --- a/.github/workflows/dotnet-format-daily-net7.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Daily code format check net7.0 branch -on: - workflow_dispatch: - schedule: - - cron: 0 0 * * * # Every day at midnight (UTC) - -permissions: - pull-requests: write - contents: write - -jobs: - dotnet-format: - runs-on: windows-latest - steps: - - name: Checkout repo - uses: actions/checkout@v2 - with: - ref: net7.0 - - - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3.2.0 - with: - dotnet-version: 7.0.304 - - - name: Run dotnet format - run: dotnet format .\Microsoft.Maui.sln --no-restore --exclude Templates/src BlazorWebView/src/SharedSource/BlazorWebViewDeveloperTools.cs BlazorWebView/src/SharedSource/BlazorWebViewServiceCollectionExtensions.cs Graphics/src/Graphics.Win2D/W2DCanvas.cs Graphics/src/Graphics.Win2D/W2DExtensions.cs - - - 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 - uses: peter-evans/create-pull-request@v3 - with: - title: '[housekeeping] Automated PR to fix formatting errors' - body: | - Automated PR to fix formatting errors - committer: GitHub - author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> - labels: | - t/housekeeping ♻︎ - area/infrastructure 🏗️ - assignees: rmarinho, jsuarezruiz - reviewers: rmarinho, jsuarezruiz - branch: housekeeping/fix-codeformatting-net7.0 - base: net7.0