summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2021-07-12 23:54:24 -0600
committerDan Allen <dan.j.allen@gmail.com>2021-07-13 01:24:34 -0600
commitc4872a6b8350d6a005bc1051d1e8e3be764769fe (patch)
treec33a69015be8d448c409f6d715c2a557721c2413 /.github
parent60c6c788fe739b74dd23edfecf60c7e218c473cf (diff)
use branch specified in payload when CI job is triggered by upstream dispatch [skip ci]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/upstream-dispatch.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/upstream-dispatch.yml b/.github/workflows/upstream-dispatch.yml
index a97b7fef..1eae1eae 100644
--- a/.github/workflows/upstream-dispatch.yml
+++ b/.github/workflows/upstream-dispatch.yml
@@ -28,8 +28,7 @@ jobs:
- name: Install dependencies
run: |
bundle --jobs 3 --retry 3
- # FIXME: should switch to branch specified in payload
- bundle exec ruby scripts/switch-to-asciidoctor-head.rb
+ bundle exec ruby scripts/switch-to-asciidoctor-head.rb ${{ github.event.client_payload.branch }}
rm -f Gemfile.lock
bundle --jobs 3 --retry 3
- name: Run tests