Skip to content

Commit f05e8f9

Browse files
committed
chore: limit ci steps to root repo
1 parent 4e18af2 commit f05e8f9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/crowdin-actions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020

2121
- name: crowdin action
2222
uses: crowdin/github-action@v2
23+
if: github.event.repository.fork == false
2324
with:
2425
upload_sources: true
2526
upload_translations: false

.github/workflows/testing.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
ruby-version: '3.3'
9797

9898
- name: Create debug keystore
99+
if: github.event.repository.fork == false
99100
env:
100101
CI_KEYSTORE: ${{ secrets.CI_KEYSTORE }}
101102
run: |
@@ -123,14 +124,15 @@ jobs:
123124

124125
- name: Upload to Discord
125126
uses: sinshutu/[email protected]
127+
if: github.event.repository.fork == false
126128
env:
127129
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
128130
with:
129131
args: app/build/outputs/apk/free/ci/${{ env.APK_NAME }}.apk
130132

131133
- name: Report build status to Discord
132134
uses: sarisia/actions-status-discord@v1
133-
if: failure()
135+
if: github.event.repository.fork == false && failure()
134136
with:
135137
title: "Build apk"
136138
webhook: ${{ secrets.DISCORD_BUILD_STATUS_WEBHOOK }}

0 commit comments

Comments
 (0)