Skip to content

Commit

Permalink
Allow running tests without PR number
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Oct 2, 2023
1 parent 6ef45b9 commit c2ac442
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ on:
workflow_dispatch:
inputs:
pr_number:
description: Pull request Id
required: true
description: Pull request Id (leave empty to test branch/version only)
required: false
default: ''
base_branch:
type: choice
description: Base branch to rebase the PR
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/pr_test_single_campaign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ on:
workflow_dispatch:
inputs:
pr_number:
description: Pull request Id
required: true
description: Pull request Id (leave empty to test branch/version only)
required: false
default: ''
base_branch:
type: choice
description: Base branch to rebase the PR
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ jobs:
- name: Checkout PrestaShop
uses: ./custom_actions/.github/workflows/actions/checkout-prestashop
with:
repository_ref: ${{ inputs.pr_number }}
repository_ref: ${{ inputs.repository_ref }}
pr_number: ${{ inputs.pr_number }}
rebase_or_merge: ${{ inputs.rebase_or_merge }}
backoffice_layout: ${{ inputs.backoffice_layout }}
ps_dir: ${{ env.PS_DIR }}
Expand Down

0 comments on commit c2ac442

Please sign in to comment.