From 49c5079c2424225c9600f66478bddf398a7068a5 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 15 May 2026 17:00:26 -0400 Subject: [PATCH 1/2] fix: explicitly checkout flutter-client-sdk repo in update-ios-sdk-version workflow --- .github/workflows/update-ios-sdk-version.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/update-ios-sdk-version.yaml b/.github/workflows/update-ios-sdk-version.yaml index 68102c6..6efce39 100644 --- a/.github/workflows/update-ios-sdk-version.yaml +++ b/.github/workflows/update-ios-sdk-version.yaml @@ -23,6 +23,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v5 with: + repository: DevCycleHQ/flutter-client-sdk token: ${{ secrets.AUTOMATION_USER_TOKEN }} fetch-depth: 0 From 83f5604fa66a9a8497cee17f3171a1861a540031 Mon Sep 17 00:00:00 2001 From: Jonathan Norris Date: Fri, 15 May 2026 17:03:32 -0400 Subject: [PATCH 2/2] fix: authenticate GitHub API curl calls to avoid rate limiting --- .github/workflows/update-ios-sdk-version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-ios-sdk-version.yaml b/.github/workflows/update-ios-sdk-version.yaml index 6efce39..9753d35 100644 --- a/.github/workflows/update-ios-sdk-version.yaml +++ b/.github/workflows/update-ios-sdk-version.yaml @@ -35,7 +35,7 @@ jobs: echo "version=$TARGET_VERSION" >> $GITHUB_OUTPUT echo "Using specified iOS SDK version: $TARGET_VERSION" else - LATEST_IOS_VERSION=$(curl -s https://api.github.com/repos/DevCycleHQ/ios-client-sdk/releases/latest | jq -r '.tag_name' | sed 's/^v//') + LATEST_IOS_VERSION=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/DevCycleHQ/ios-client-sdk/releases/latest | jq -r '.tag_name' | sed 's/^v//') if [ "$LATEST_IOS_VERSION" = "null" ] || [ -z "$LATEST_IOS_VERSION" ]; then echo "Error: Failed to fetch valid iOS SDK version" exit 1