Skip to content

test: 자동 PR 흐름 검증용 임시 변경 원복 (Spacing.2 3 → 2) #3

test: 자동 PR 흐름 검증용 임시 변경 원복 (Spacing.2 3 → 2)

test: 자동 PR 흐름 검증용 임시 변경 원복 (Spacing.2 3 → 2) #3

Workflow file for this run

name: Notify iOS on token change
on:
push:
branches: [main]
paths:
- 'Mode 1.tokens.json'
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger Picke-iOS sync workflow
env:
GH_TOKEN: ${{ secrets.IOS_REPO_DISPATCH_TOKEN }}
run: |
curl -fsSL -X POST \
-H "Authorization: Bearer ${GH_TOKEN}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/SWYP-Find/Picke-iOS/dispatches \
-d '{"event_type":"design-tokens-updated","client_payload":{"sha":"${{ github.sha }}","ref":"${{ github.ref }}"}}'
echo "[notify] dispatched design-tokens-updated to SWYP-Find/Picke-iOS"