Skip to content

Commit

Permalink
cleanup copy pasta
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenkilbourn committed Dec 30, 2024
1 parent a37f414 commit 51e0f8d
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,4 @@ jobs:
run: yarn type-check

- name: Run unit tests
run: yarn test


name: GitHub PR synchronize with Crowdin
runs-on: ubuntu-latest

needs: [build, test]
if: github.event_name == 'pull_request'

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # Crowdin Actions needs to push commits to the PR branch, checkout HEAD commit instead of merge commit
fetch-depth: 0

- name: crowdin action
uses: crowdin/github-action@v2
with:
upload_sources: true
upload_translations: true
download_translations: true
create_pull_request: false
localization_branch_name: ${{ github.head_ref || github.ref_name }} # explanation here: https://stackoverflow.com/a/71158878
commit_message: 'chore: new Crowdin translations by GitHub Action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
run: yarn test

0 comments on commit 51e0f8d

Please sign in to comment.