Remove danger CI

This commit is contained in:
Viktor Radchenko 2020-10-31 23:01:39 -07:00
parent d06e16852a
commit 62be404fbf
3 changed files with 2 additions and 25 deletions

View File

@ -1,23 +0,0 @@
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 }}

View File

@ -12,7 +12,7 @@ jobs:
if: github.repository_owner == 'trustwallet'
uses: actions/checkout@v2
with:
token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
token: ${{ secrets.COMMIT_TOKEN }}
ref: ${{ github.ref }}
- name: Checkout (fork repo, default token)
if: github.repository_owner != 'trustwallet'

View File

@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.DANGER_GITHUB_API_TOKEN }}
token: ${{ secrets.COMMIT_TOKEN }}
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v1
with: