Skip to content

Commit 18e82c9

Browse files
committed
chore: fix failing release action
Errors: - Run OneSignal/sdk-actions/.github/actions/setup-git-user@main - Run git config --local user.email "[email protected]" - fatal: --local can only be used inside a git repository It needs to be moved back into the body of the xcframework repository steps
1 parent bfe8cc2 commit 18e82c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/create-release-prs.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,6 @@ jobs:
192192
path: xcframework-repo
193193
token: ${{ secrets.PAT_TOKEN_ONESIGNAL_XCFRAMEWORK }}
194194

195-
- name: Setup Git User
196-
uses: OneSignal/sdk-actions/.github/actions/setup-git-user@main
197-
198195
- name: Update Package.swift in XCFramework Repository
199196
run: |
200197
# Copy Package.swift from iOS SDK to XCFramework repo
@@ -212,6 +209,10 @@ jobs:
212209
# Create release branch
213210
git checkout -b $RELEASE_BRANCH
214211
212+
# Configure git
213+
git config --local user.email "[email protected]"
214+
git config --local user.name "github-actions[bot]"
215+
215216
# Commit changes
216217
git commit -am "Release $VERSION"
217218

0 commit comments

Comments
 (0)