From 3fcfebf6b72cbc74cca5f957eeeb7d2b697c478d Mon Sep 17 00:00:00 2001 From: Mikkel Jakobsen Date: Fri, 17 May 2024 08:48:07 +0200 Subject: [PATCH] Make ACCPETED_BUILD_URL_PREFIX configurable --- .github/workflows/create-pr.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml index 69cc24aeb3..8aca98f54d 100644 --- a/.github/workflows/create-pr.yml +++ b/.github/workflows/create-pr.yml @@ -39,8 +39,7 @@ jobs: composer remove ${{ env.PACKAGE }} \ && composer require ${{ env.PACKAGE }} attempt_limit: 200 - # TODO: Remember to change hardcoded url check. - if: ${{ env.BUILD_URL && env.PACKAGE && startsWith(env.BUILD_URL, 'https://github.com/reload/poc-dpl-react-pr-trigger/releases/download') }} + if: ${{ env.BUILD_URL && env.PACKAGE && startsWith(env.BUILD_URL, vars.ACCPETED_BUILD_URL_PREFIX) }} - name: Create branch and PR run: |