CI: Avoid failing tx step if secret can not be accessed (#7012)
Some checks are pending
Build Docker Image / amd64 & arm64 (push) Waiting to run

This commit is contained in:
tooomm 2026-06-26 16:39:33 +02:00 committed by GitHub
parent 80426d77bc
commit c9ebdb451f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,8 @@ jobs:
uses: actions/checkout@v7 uses: actions/checkout@v7
- name: "Pull translated strings from Transifex" - name: "Pull translated strings from Transifex"
# Do not run this step for PR's from forks, they don't have access to the secret
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false
uses: transifex/cli-action@v2 uses: transifex/cli-action@v2
with: with:
# Used config file: https://github.com/Cockatrice/Cockatrice/blob/master/.tx/config # Used config file: https://github.com/Cockatrice/Cockatrice/blob/master/.tx/config