Skip to content

Commit a8a8862

Browse files
committed
Update notify-packages.yml
1 parent 69cd7c7 commit a8a8862

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/notify-packages.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ jobs:
1717
steps:
1818
- name: Trigger update on csk-packages
1919
run: |
20+
NAME="${GITHUB_REPOSITORY##*/}"
2021
curl -X POST \
2122
-H "Authorization: Bearer ${{ secrets.CSK_PAT }}" \
2223
-H "Accept: application/vnd.github+json" \
2324
https://api.github.com/repos/ianhubnet/csk-packages/dispatches \
2425
-d "$(jq -n \
25-
--arg type "modules" \
26-
--arg name "csk-module-dummy" \
27-
--arg strip "csk-module-" \
26+
--arg type "${{ vars.CSK_TYPE }}" \
27+
--arg name "$NAME" \
28+
--arg strip "${{ vars.CSK_STRIP }}" \
2829
--arg repo "${{ github.repository }}" \
2930
'{"event_type":"update-submodules","client_payload":{"type":$type,"name":$name,"strip":$strip,"repo":$repo}}')"

0 commit comments

Comments
 (0)