From 02b911703906b8de38c2f7ccfd450539e3d14726 Mon Sep 17 00:00:00 2001 From: Jon Hoare Date: Tue, 6 Apr 2021 10:45:18 +0100 Subject: [PATCH] Removed Dependabot --- .github/dependabot.yml | 23 ----------------------- .github/rebase.yml | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 23 deletions(-) delete mode 100644 .github/dependabot.yml create mode 100644 .github/rebase.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 16f992b..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: 2 -updates: -- package-ecosystem: nuget - directory: "/" - schedule: - interval: daily - open-pull-requests-limit: 10 - ignore: - - dependency-name: Microsoft.Extensions.Configuration.Abstractions - versions: - - "> 3.1.3" - - dependency-name: Microsoft.Extensions.Configuration.Binder - versions: - - "> 3.1.3" - - dependency-name: Microsoft.Extensions.Configuration.EnvironmentVariables - versions: - - "> 3.1.3" - - dependency-name: Microsoft.Extensions.Configuration.FileExtensions - versions: - - "> 3.1.3" - - dependency-name: Microsoft.Extensions.Configuration.Json - versions: - - "> 3.1.3" diff --git a/.github/rebase.yml b/.github/rebase.yml new file mode 100644 index 0000000..9ca1d41 --- /dev/null +++ b/.github/rebase.yml @@ -0,0 +1,19 @@ +name: Automatic Rebase +on: + issue_comment: + types: [created] +jobs: + rebase: + name: Rebase + if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') + runs-on: ubuntu-latest + steps: + - name: Checkout the latest code + uses: actions/checkout@v2 + with: + token: ${{ secrets.AUTOREBASE_PAT }} + fetch-depth: 0 # otherwise, you will fail to push refs to dest repo + - name: Automatic Rebase + uses: cirrus-actions/rebase@1.4 + env: + GITHUB_TOKEN: ${{ secrets.AUTOREBASE_PAT }}