Skip to content

Commit

Permalink
add workflow to update translation diff
Browse files Browse the repository at this point in the history
  • Loading branch information
otegami committed Feb 5, 2025
1 parent 2adb52d commit 5e42daa
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/translation-diff-monitor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Translation Diff Monitor
on:
schedule:
- cron: 0 0 * * *
jobs:
diff:
name: Diff translation
runs-on: ubuntu-latest
env:
TURBO_SITE_REPOSITORY: ${{ github.workspace }}/turbo-site
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: hotwired/turbo-site
path: turbo-site
fetch-depth: 0
- name: Setup Git user
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
- name: Install dependencies
run: bundle
- name: Update translation
run: |
rake
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5e42daa

Please sign in to comment.