Skip to content

Commit

Permalink
ci upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
dpep committed Aug 8, 2024
1 parent 486bab0 commit 334c61a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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 }}

0 comments on commit 334c61a

Please sign in to comment.