From 334c61a4baa29a61648a298c86f6fa7a4fc93e24 Mon Sep 17 00:00:00 2001 From: Daniel Pepper Date: Thu, 8 Aug 2024 11:26:52 -0700 Subject: [PATCH] ci upgrades --- .github/dependabot.yml | 9 +++++++++ .github/workflows/dependabot.yml | 2 +- .github/workflows/ruby.yml | 8 +++++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index ac1560a..6d6066a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,3 +6,12 @@ updates: directory: "/" schedule: interval: "weekly" + pull-request-branch-name: + separator: "-" + - package-ecosystem: "bundler" + directory: "/" + schedule: + interval: "weekly" + pull-request-branch-name: + separator: "-" + versioning-strategy: lockfile-only diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 9306b5c..088552d 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -4,7 +4,7 @@ on: pull_request jobs: dependabot: runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'dependabot[bot]' + if: startsWith(github.event.pull_request.user.login, 'dependabot') env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} steps: diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 0b95c2b..1a0eb9e 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -4,15 +4,15 @@ on: push: branches: [ main ] pull_request: - types: [ opened, edited, synchronize ] jobs: test: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: - ruby-version: [ '3.0', 3.1 ] + ruby-version: [ 3, 3.1, "3.0" ] name: Ruby ${{ matrix.ruby-version }} @@ -29,4 +29,6 @@ jobs: - name: run tests run: bundle exec rspec - name: upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }}