trustwallet-assets/.github/workflows/danger.yml
Viktor Radchenko 84c4db9482
Add Danger (#1857)
* Add Danger

* Create Dangerfile

* Add Gemfile

* Rename danger to danger.ci

* Rename danger.ci to danger.yml

* Update Dangerfile

* Add validate JSON

* Add find

* Add image and json validation

* Add Payment: Paid for stale

* Add validation for info.json, list.json files and check file names

* Add Payment: Unpaid

* Optimised images with calibre/image-actions

* Add validation for whitelist and blacklist

* Update helpers.ts

* Update Dangerfile

* Optimised images with calibre/image-actions

* Update danger.yml

* Remove uppercase logo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mykola <kolya182@gmail.com>
2020-04-13 21:06:13 -07:00

22 lines
427 B
YAML

name: Danger
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install gems
run: sudo gem install bundler --no-document
- name: Bundle update
run: bundle update --bundler
- name: Run Danger
run: danger --verbose
env:
GITHUB_TOKEN: ${{ secrets.DANGER_TOKEN }}