trustwallet-assets/.github/workflows/danger.yml
Adam R 247b61d057
Revert to GETHUB_TOKEN; special token not available in fork PRs. (#3266)
Co-authored-by: Catenocrypt <catenocrypt@users.noreply.github.com>
2020-08-12 12:47:26 +02:00

24 lines
508 B
YAML

name: Danger
on:
pull_request:
branches: [ 'master' ]
workflow_dispatch:
jobs:
danger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install yarn
run: npm install -g yarn
- name: yarn install
run: |
yarn install --frozen-lockfile
- name: Danger
run: yarn danger ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}