-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github-actions to 4.0.16 (#103)
* Fix debugging EE PR handling
- Loading branch information
1 parent
8b2a894
commit d54d9ce
Showing
1 changed file
with
12 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,6 +224,7 @@ runs: | |
if: ${{ inputs.github_event_name == 'pull_request' && github.repository == 'OXID-eSales/oxideshop_ee' }} | ||
shell: bash | ||
run: | | ||
# prepare_shop: Clone the ee shop (PR) | ||
AUTH="oxidci:${{ inputs.enterprise_github_token || github.token }}" | ||
echo -e "\033[0;35mHandling the pull request for the EE shop\033[0m" | ||
mkdir -p source/dev-packages | ||
|
@@ -235,20 +236,18 @@ runs: | |
refs/pull/${{ github.event.number }}/head:pr_${{ github.event.number }} | ||
git -C 'source/dev-packages/oxideshop_ee' checkout pr_${{ github.event.number }} | ||
echo "module_ref=pr_${{ github.event.number }}" >>"${GITHUB_OUTPUT}" | ||
if [ '${{ inputs.debug }}' == 'true' ]; then | ||
cat >>debug/debug.sh <<'EODS' | ||
banner "Checkout module" | ||
# Note: we use ssh here, the workflow uses https and the runtime token or enterprise token | ||
echo -e "\033[0;35mHandling the pull request for the EE shop\033[0m" | ||
git clone --depth 2 \ | ||
[email protected]:OXID-eSales/oxideshop_ee.git \ | ||
--branch ${{ inputs.github_base_ref }} \ | ||
--single-branch 'source/dev-packages/oxideshop_ee' | ||
git -C 'source/dev-packages/oxideshop_ee' fetch origin \ | ||
refs/pull/${{ github.event.number }}/head:pr_${{ github.event.number }} | ||
git -C 'source/dev-packages/oxideshop_ee' checkout pr_${{ github.event.number }} | ||
cat >>debug/debug.sh <<'EODS' | ||
banner "Checkout module" | ||
# Note: we use ssh here, the workflow uses https and the runtime token or enterprise token | ||
echo -e "\033[0;35mHandling the pull request for the EE shop\033[0m" | ||
git clone --depth 2 \ | ||
[email protected]:OXID-eSales/oxideshop_ee.git \ | ||
--branch ${{ inputs.github_base_ref }} \ | ||
--single-branch 'source/dev-packages/oxideshop_ee' | ||
git -C 'source/dev-packages/oxideshop_ee' fetch origin \ | ||
refs/pull/${{ github.event.number }}/head:pr_${{ github.event.number }} | ||
git -C 'source/dev-packages/oxideshop_ee' checkout pr_${{ github.event.number }} | ||
EODS | ||
fi | ||
- name: 'Modify composer.json for EE shop PR' | ||
if: ${{ inputs.github_event_name == 'pull_request' && github.repository == 'OXID-eSales/oxideshop_ee' }} | ||
|