Skip to content

Commit f37f125

Browse files
committed
Added fixes for other workflows.
1 parent 60c6dd7 commit f37f125

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/code-quality.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ jobs:
3434
if [ "${{ github.event_name }}" = "push" ]; then
3535
bash .github/scripts/get_plugin_slug.sh main
3636
else
37-
bash .github/scripts/get_plugin_slug.sh ${{ github.event.pull_request.base.sha }} ${{ github.sha }}
37+
bash .github/scripts/get_plugin_slug.sh \
38+
${{ github.event.pull_request.base.sha }} \
39+
${{ github.event.pull_request.head.sha }}
3840
fi
3941
4042
- name: Detect changed plugins with quality config

.github/workflows/codeception.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
if [ "${{ github.event_name }}" = "push" ]; then
4242
bash .github/scripts/get_plugin_slug.sh main
4343
else
44-
bash .github/scripts/get_plugin_slug.sh ${{ github.event.pull_request.base.sha }} ${{ github.sha }}
44+
bash .github/scripts/get_plugin_slug.sh \
45+
${{ github.event.pull_request.base.sha }} \
46+
${{ github.event.pull_request.head.sha }}
4547
fi
4648
4749
- name: Detect changed plugins with quality config

.github/workflows/e2e-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343
if [ "${{ github.event_name }}" = "push" ]; then
4444
bash .github/scripts/get_plugin_slug.sh main
4545
else
46-
bash .github/scripts/get_plugin_slug.sh ${{ github.event.pull_request.base.sha }} ${{ github.sha }}
46+
bash .github/scripts/get_plugin_slug.sh \
47+
${{ github.event.pull_request.base.sha }} \
48+
${{ github.event.pull_request.head.sha }}
4749
fi
4850
4951
- name: Detect changed plugin with E2E config

0 commit comments

Comments
 (0)