From 9081330408ff9168c14dc5f44b9b52d19af9b087 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 13 Oct 2023 01:06:53 -0400 Subject: [PATCH] allow manually running against a drupal 8 civi PR --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 388eab60..c66bf5a2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,9 @@ on: coreprurl: description: (optional) Core PR URL required: false + drupal8prurl: + description: (optional) Drupal 8 PR URL + required: false jobs: phpunit: @@ -135,6 +138,12 @@ jobs: cd ~/drupal/vendor/civicrm/civicrm-core curl -L -o prpatch.patch ${{ github.event.inputs.coreprurl }}.patch git am prpatch.patch + - name: Optionally Apply Drupal 8 PR + if: ${{ github.event.inputs.drupal8prurl != 0 }} + run: | + cd ~/drupal/web/modules/contrib/civicrm + curl -L -o prpatch.patch ${{ github.event.inputs.drupal8prurl }}.patch + git am prpatch.patch - name: Do a fake temp install # so that we can use civi api to get extensions with a version appropriate to the installed civi version run: |