Skip to content

Commit 1e131dc

Browse files
committed
changes
1 parent aa8029b commit 1e131dc

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Diff for: .github/workflows/prepend-license.yml

+9-4
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ jobs:
2727
run: |
2828
git pull origin ${{ github.event.pull_request.head.ref }}
2929
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 \
3235
-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+
3540
if [ -z $(git status --porcelain) ]; then
3641
echo "No files to commit"
3742
else

Diff for: projects/storefrontlib/shared/components/media/media.component.ts

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
/*
2-
* SPDX-FileCopyrightText: 2025 SAP Spartacus team <[email protected]>
3-
*
4-
* SPDX-License-Identifier: Apache-2.0
5-
*/
6-
71
import {
82
ChangeDetectionStrategy,
93
Component,

0 commit comments

Comments
 (0)