From bfe8cc2ac29dbcc776f183363329c16c7cec9763 Mon Sep 17 00:00:00 2001 From: Nan Date: Thu, 8 Jan 2026 15:01:04 -0800 Subject: [PATCH 1/2] chore: update macos runner image The macOS-13 based runner images are now retired. For more details, see https://github.com/actions/runner-images/issues/13046. --- .github/workflows/create-release-prs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release-prs.yml b/.github/workflows/create-release-prs.yml index 458430a0b..5499b0361 100644 --- a/.github/workflows/create-release-prs.yml +++ b/.github/workflows/create-release-prs.yml @@ -34,7 +34,7 @@ jobs: # Step 2: Update iOS-specific files and build binaries update-and-build: needs: prep - runs-on: macos-13 + runs-on: macos-14 outputs: version_from: ${{ steps.extract_version.outputs.current_version }} @@ -152,7 +152,7 @@ jobs: # Step 4: Update XCFramework repository update-xcframework: needs: [prep, update-and-build, create-ios-pr] - runs-on: macos-13 + runs-on: macos-14 env: VERSION: ${{ github.event.inputs.version }} From 18e82c9f59c43622b2c0fb774a5336045b3cb81b Mon Sep 17 00:00:00 2001 From: Nan Date: Thu, 8 Jan 2026 22:42:08 -0800 Subject: [PATCH 2/2] chore: fix failing release action Errors: - Run OneSignal/sdk-actions/.github/actions/setup-git-user@main - Run git config --local user.email "noreply@onesignal.com" - fatal: --local can only be used inside a git repository It needs to be moved back into the body of the xcframework repository steps --- .github/workflows/create-release-prs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release-prs.yml b/.github/workflows/create-release-prs.yml index 5499b0361..b8e08bb59 100644 --- a/.github/workflows/create-release-prs.yml +++ b/.github/workflows/create-release-prs.yml @@ -192,9 +192,6 @@ jobs: path: xcframework-repo token: ${{ secrets.PAT_TOKEN_ONESIGNAL_XCFRAMEWORK }} - - name: Setup Git User - uses: OneSignal/sdk-actions/.github/actions/setup-git-user@main - - name: Update Package.swift in XCFramework Repository run: | # Copy Package.swift from iOS SDK to XCFramework repo @@ -212,6 +209,10 @@ jobs: # Create release branch git checkout -b $RELEASE_BRANCH + # Configure git + git config --local user.email "noreply@onesignal.com" + git config --local user.name "github-actions[bot]" + # Commit changes git commit -am "Release $VERSION"