Skip to content

Commit 69efdd8

Browse files
committed
update gh token
1 parent 77cf882 commit 69efdd8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/bump-native-version.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
bump-native-sdks:
2121
runs-on: ubuntu-latest
2222
env:
23-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
GH_TOKEN: ${{ secrets.ONESIGNAL_PAT }}
2424

2525
steps:
2626
- name: Checkout repository
@@ -36,6 +36,15 @@ jobs:
3636
- name: Configure GitHub CLI
3737
run: gh auth status || gh auth login --with-token <<< "${GH_TOKEN}"
3838

39+
- name: Debug GH CLI access
40+
run: |
41+
echo "🔍 Checking authentication"
42+
gh auth status
43+
echo "🔍 Listing releases from Android SDK repo"
44+
gh release list --repo OneSignal/OneSignal-Android-SDK --limit 5
45+
echo "🔍 Listing releases from iOS SDK repo"
46+
gh release list --repo OneSignal/OneSignal-iOS-SDK --limit 5
47+
3948
- name: Get current native SDK versions
4049
id: current
4150
run: |

0 commit comments

Comments
 (0)