name: Update pot files on: schedule: - cron: "*/5 * * * *" workflow_dispatch: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: "3.0" - name: Generate pot files run: | bundle config set --local with 'docs' bundle install bundle exec yard i18n - name: Crowdin Action uses: crowdin/github-action@1.4.1 with: upload_translations: true download_translations: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}