Files
iD/.github/workflows/transifex.yml
Florian Stosse 6af6e1b442 Enable dependabot for GitHub Actions dependencies (#11093)
* Pin GitHub Actions versions
* Add Dependabot alerts for Actions
2025-06-04 10:01:43 +02:00

31 lines
782 B
YAML

# This workflow will push the iD source strings to transifex
# - requires TX_TOKEN secret to be set on GitHub
# - you can generate a token at https://www.transifex.com/user/settings/api/
# - job does not run if no token provided
name: transifex
on:
push:
branches:
- develop
permissions:
contents: read
jobs:
transifex:
runs-on: ubuntu-latest
environment: workflows
steps:
- uses: actions/checkout@v4.2.2
- name: Install Transifex client
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
- name: Push source strings to Transifex
env:
TX_TOKEN: ${{secrets.TX_TOKEN}}
if: env.TX_TOKEN != null
run: ./tx push --source --use-git-timestamps --skip id-editor.core