From fba8ef17fe5e47718544681a9fbf30b144bb98c6 Mon Sep 17 00:00:00 2001 From: MaryamAdnan <80243792+MaryamAdnan3@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:24:28 +0500 Subject: [PATCH] Create dependabot.yml (#52) --- .github/dependabot.yml | 20 ++++++++++++++++++++ .github/workflows/test-runner.yml | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..cba19c9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,20 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "rubygems" + directory: "/" + schedule: + interval: "monthly" + labels: + - "dependency update" + commit-message: + prefix: "build" + include: "scope" + open-pull-requests-limit: 10 + rebase-strategy: "auto" + reviewers: + - "MaryamAdnan3" diff --git a/.github/workflows/test-runner.yml b/.github/workflows/test-runner.yml index a5f9d74..a7d9c4e 100644 --- a/.github/workflows/test-runner.yml +++ b/.github/workflows/test-runner.yml @@ -35,7 +35,7 @@ jobs: - name: Run tests run: bundle exec rake - name: Upload coverage report - if: ${{ matrix.ruby-version == '3.2' }} + if: ${{ matrix.ruby-version == '3.2' && github.actor != 'dependabot[bot]'}} uses: paambaati/codeclimate-action@v3.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_TEST_REPORTER_ID }}