From b400f894be68e5056672e3a525ef7f844e3892e5 Mon Sep 17 00:00:00 2001 From: meil Date: Sun, 27 Oct 2019 17:23:31 +0900 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d50c9aa7..259bb80b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,25 +24,21 @@ jobs: CI: true danger: runs-on: ubuntu-latest + if: github.event_name == 'pull_request' steps: - uses: actions/checkout@v1 - if: github.event_name == 'pull_request' - uses: actions/setup-node@v1 - if: github.event_name == 'pull_request' with: node-version: 12.x - uses: actions/setup-ruby@v1 - if: github.event_name == 'pull_request' with: ruby-version: '2.6' - name: npm install - if: github.event_name == 'pull_request' run: | npm install env: CI: true - uses: MeilCli/danger-action@master - if: github.event_name == 'pull_request' with: plugins_file: 'Gemfile' danger_file: 'Dangerfile'