From 7f2ea48718c98c5541addef47203ce30c4e10b21 Mon Sep 17 00:00:00 2001 From: MaryamAdnan <80243792+MaryamAdnan3@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:09:48 +0500 Subject: [PATCH 1/2] Create dependabot.yml --- .github/dependabot.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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" From 9b17fe453bc396e8f81c7c5460429a5889be912c Mon Sep 17 00:00:00 2001 From: MaryamAdnan <80243792+MaryamAdnan3@users.noreply.github.com> Date: Wed, 11 Dec 2024 15:44:36 +0500 Subject: [PATCH 2/2] Update test-runner.yml --- .github/workflows/test-runner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}