summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2020-11-10 01:26:03 -0700
committerDan Allen <dan.j.allen@gmail.com>2020-11-10 01:26:03 -0700
commit5e511fdd4cfb29e37551bc70e018eab08f4b99db (patch)
treee32abcf337d80b87d9e1734401635f2246acf82d /.github/workflows
parentc0769bc897504230e5f8a28cbb2eb3ce2bdeb030 (diff)
simplify conditional for build dependents step in CI workflow
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0abf6971..2e0a5fe3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -73,7 +73,7 @@ jobs:
- name: Run tests
run: bundle exec ruby -w $(bundle exec ruby -e 'print File.join Gem.bindir, %q(rake)') test:all
- name: Build dependents
- if: matrix.primary && github.event_name != 'schedule' && github.repository == 'asciidoctor/asciidoctor' && !github.base_ref
+ if: matrix.primary && github.event_name == 'push' && github.repository == 'asciidoctor/asciidoctor'
env:
GITHUB_API_TOKEN: ${{ secrets._GITHUB_API_TOKEN }}
TRAVIS_API_TOKEN: ${{ secrets.TRAVIS_API_TOKEN }}