File tree 2 files changed +9
-10
lines changed
projects/storefrontlib/shared/components/media
2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,16 @@ jobs:
27
27
run : |
28
28
git pull origin ${{ github.event.pull_request.head.ref }}
29
29
30
- echo "Checking GH_PR_TOKEN identity..."
31
- curl -H "Authorization: Bearer ${{ secrets.GH_PR_TOKEN }}" \
30
+ CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
31
+
32
+ echo "Current branch : $CURRENT_BRANCH"
33
+
34
+ curl -X POST \
32
35
-H "Accept : application/vnd.github+json" \
33
- https://api.github.com/user
34
-
36
+ -H "Authorization : Bearer ${{ secrets.GH_PR_TOKEN }}" \
37
+ https://api.github.com/repos/${{ github.repository }}/actions/workflows/repo-sync.yml/dispatches \
38
+ -d "{\"ref\":\"$CURRENT_BRANCH\",\"inputs\":{\"branch_to_sync\":\"$CURRENT_BRANCH\"}}"
39
+
35
40
if [ -z $(git status --porcelain) ]; then
36
41
echo "No files to commit"
37
42
else
Original file line number Diff line number Diff line change 1
- /*
2
- * SPDX-FileCopyrightText: 2025 SAP Spartacus team <[email protected] >
3
- *
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
-
7
1
import {
8
2
ChangeDetectionStrategy ,
9
3
Component ,
You can’t perform that action at this time.
0 commit comments