Skip to content

Commit

Permalink
Only run translation workflows on main repo
Browse files Browse the repository at this point in the history
This will prevent forks from getting spammed by the job that can
only run on the main repository.
  • Loading branch information
kruton committed Jun 4, 2024
1 parent ee51326 commit 8debf41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/export-po-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
copy:
name: Copy to po-files
if: github.repository_owner == 'connectbot'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/translations-import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ on:

jobs:
import:
name: Import translations from Launchpad
runs-on: ubuntu-latest
if: github.repository_owner == 'connectbot'

env:
BAZAAR_URI: lp:~kennyr/connectbot/po-output
Expand Down

0 comments on commit 8debf41

Please sign in to comment.