From b76261bf46374a3c38aba0dd8c27748fabe3a6e3 Mon Sep 17 00:00:00 2001 From: Anthony Martin <38542602+anthony-c-martin@users.noreply.github.com> Date: Sat, 1 Apr 2023 11:17:08 -0400 Subject: [PATCH] Delete dependabot-update-dotnet-lockfiles.yml (#10265) It doesn't work well with the recent restrictions on auto-creating PRs. --- .../dependabot-update-dotnet-lockfiles.yml | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 .github/workflows/dependabot-update-dotnet-lockfiles.yml diff --git a/.github/workflows/dependabot-update-dotnet-lockfiles.yml b/.github/workflows/dependabot-update-dotnet-lockfiles.yml deleted file mode 100644 index fa54c08e605..00000000000 --- a/.github/workflows/dependabot-update-dotnet-lockfiles.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: 'Dependabot: Update Dotnet Lockfiles' -on: - pull_request: - branches: [main] - types: - - opened - - reopened - - synchronize - - labeled - - unlabeled - -jobs: - update-dotnet-lockfiles: - name: Update Dotnet Lockfiles - if: ${{ github.actor == 'dependabot[bot]' && contains(github.event.pull_request.labels.*.name, '.NET') }} - runs-on: ubuntu-latest - permissions: - pull-requests: write - contents: write - - steps: - - uses: actions/checkout@v3 - - - name: Setup .NET Core - uses: actions/setup-dotnet@v3 - - - name: Update lockfiles - run: dotnet restore --force-evaluate - - - name: Commit the changes - uses: stefanzweifel/git-auto-commit-action@v4 - with: - commit_message: Update dotnet lockfiles - commit_user_name: ${{ github.actor }} - commit_user_email: ${{ github.actor }}@users.noreply.github.com