Skip to content

Commit 059ed83

Browse files
committed
feat: add credentials in workflows
1 parent d742154 commit 059ed83

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141

4242
- name: Build debug app
4343
env:
44+
GITHUB_ACTOR: ${{ github.actor }}
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4446
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
4547
run: ./gradlew assembleDevDebug
4648

.github/workflows/e2e.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737

3838
- name: Build debug app
3939
env:
40+
GITHUB_ACTOR: ${{ github.actor }}
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4042
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
4143
E2E: true
4244
run: ./gradlew assembleDevDebug
@@ -123,7 +125,7 @@ jobs:
123125
emulator-options: -no-window -gpu swiftshader_indirect -no-snapshot -noaudio -no-boot-anim -camera-back none -camera-front none
124126
script: |
125127
# adb port forwarding for regtest
126-
adb reverse tcp:60001 tcp:60001
128+
adb reverse tcp:60001 tcp:60001
127129
cd bitkit-e2e-tests && npm run e2e:android -- --mochaOpts.grep "Can start onboarding"
128130
env:
129131
RECORD_VIDEO: true

.github/workflows/ui-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ jobs:
4242
- name: Make gradlew executable
4343
run: chmod +x gradlew
4444

45-
- name: Build for debug with gradle
45+
- name: Build debug app
46+
env:
47+
GITHUB_ACTOR: ${{ github.actor }}
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
49+
CHATWOOT_API: ${{ secrets.CHATWOOT_API }}
4650
run: |
4751
./gradlew assembleDevDebug assembleDevDebugAndroidTest
4852
ls -la app/build/outputs/apk/debug/

0 commit comments

Comments
 (0)