From a32a09e7beef77ecd4b69b88e178b2ed6ca89fc9 Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Mon, 13 Oct 2025 12:40:44 -0500 Subject: [PATCH] Delete the 'main is .net 11' warning now that it's served its purpose --- .github/workflows/pr-main-warning.yml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .github/workflows/pr-main-warning.yml diff --git a/.github/workflows/pr-main-warning.yml b/.github/workflows/pr-main-warning.yml deleted file mode 100644 index 57a6b9aca27c..000000000000 --- a/.github/workflows/pr-main-warning.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: PR Main Branch Warning -on: - pull_request_target: - types: [opened] - branches: - - main - -permissions: - pull-requests: write - -jobs: - comment: - runs-on: ubuntu-latest - steps: - - name: Add warning comment to PR targeting main - uses: actions/github-script@v7 - with: - script: | - github.rest.issues.createComment({ - issue_number: context.payload.pull_request.number, - owner: context.repo.owner, - repo: context.repo.repo, - body: `This PR is targeting \`main\`, which is now for .NET 11-facing work. If you intended to target .NET 10, either retarget this PR to \`release/10.0.1xx\` or make sure you backport the change to \`release/10.0.1xx\` after merging. See https://github.com/dotnet/sdk/issues/50394 for more details.` - })