-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: display past due subscriptions.
- Loading branch information
Showing
11 changed files
with
118 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
name: danger | ||
|
||
on: [pull_request] | ||
|
||
name: PR Lint | ||
on: pull_request | ||
jobs: | ||
danger: | ||
name: Dangerfile | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/Gemfile.danger | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.6.2" | ||
ruby-version: 2.7.7 | ||
bundler-cache: true | ||
- uses: MeilCli/danger-action@v5 | ||
with: | ||
danger_file: "Dangerfile" | ||
danger_id: "danger-pr" | ||
env: | ||
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- run: | | ||
# Personal access token for dangerpr-bot - public, but base64 encoded to avoid tripping up GitHub | ||
TOKEN=$(echo -n Z2hwX0xNQ3VmanBFeTBvYkZVTWh6NVNqVFFBOEUxU25abzBqRUVuaAo= | base64 --decode) | ||
DANGER_GITHUB_API_TOKEN=$TOKEN bundle exec danger --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,24 +12,25 @@ jobs: | |
- name: Setup Firefox | ||
uses: browser-actions/setup-firefox@latest | ||
with: | ||
firefox-version: "54.0" | ||
firefox-version: "108.0" | ||
- name: Download geckodriver | ||
uses: browser-actions/setup-geckodriver@latest | ||
with: | ||
geckodriver-version: "0.18.0" | ||
geckodriver-version: '0.32.0' | ||
- run: geckodriver --version | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: "2.6.2" | ||
ruby-version: "2.7.7" | ||
- name: Start MongoDB | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: "5" | ||
mongodb-db: slack-ruby-bot-server-stripe_test | ||
- name: Run tests | ||
- name: Test | ||
uses: GabrielBB/xvfb-action@v1 | ||
env: | ||
DATABASE_ADAPTER: mongoid | ||
with: | ||
run: | | ||
bundle install | ||
bundle exec rake | ||
bundle exec rake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
source 'https://rubygems.org' | ||
|
||
group :test do | ||
gem 'danger-toc', '~> 0.2.0', require: false | ||
gem 'slack-ruby-danger', '~> 0.2.0', require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters