Skip to content

Commit 80b338c

Browse files
chore: replace danger token due to rotation (#17)
* chore: replace danger token due to rotation * fix: lock mongoid version using env * fix(ci): drop ruby 2.7.2
1 parent f2ef258 commit 80b338c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/danger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
run: |
2020
bundle install
2121
# the personal token is public, this is ok, base64 encode to avoid tripping Github
22-
TOKEN=$(echo -n NWY1ZmM5MzEyMzNlYWY4OTZiOGU3MmI3MWQ3Mzk0MzgxMWE4OGVmYwo= | base64 --decode)
22+
TOKEN=$(echo -n Z2hwX0xNQ3VmanBFeTBvYkZVTWh6NVNqVFFBOEUxU25abzBqRUVuaAo= | base64 --decode)
2323
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose

.github/workflows/test-mongodb.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
matrix:
99
entry:
1010
- { ruby: 2.6.2, mongoid: 6.4.8, mongodb: 4.4 }
11-
- { ruby: 2.7.2, mongoid: 7.3.0, mongodb: 5.0 }
11+
- { ruby: 2.6.2, mongoid: 7.3.0, mongodb: 5.0 }
1212
- { ruby: 3.1.1, mongoid: 7.3.0, mongodb: 5.0 }
1313
name: test (ruby=${{ matrix.entry.ruby }}, mongoid=${{ matrix.entry.mongoid }}, mongodb=${{ matrix.entry.mongodb }})
1414
steps:

.github/workflows/test-postgresql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
matrix:
99
entry:
1010
- { ruby: 2.6.2, postgresql: 11 }
11-
- { ruby: 2.7.2, postgresql: 14 }
11+
- { ruby: 2.6.2, postgresql: 14 }
1212
- { ruby: 3.1.1, postgresql: 14 }
1313
name: test (ruby=${{ matrix.entry.ruby }}, postgresql=${{ matrix.entry.postgresql }})
1414
services:

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
55
case ENV['DATABASE_ADAPTER']
66
when 'mongoid' then
77
gem 'kaminari-mongoid'
8-
gem 'mongoid'
8+
gem 'mongoid', ENV['MONGOID_VERSION'] || '~> 7.3.0'
99
gem 'mongoid-scroll'
1010
when 'activerecord' then
1111
gem 'activerecord'

0 commit comments

Comments
 (0)