diff --git a/.github/workflows/build-storybook.yml b/.github/workflows/build-storybook.yml index 96dfdac9d..a292bab37 100644 --- a/.github/workflows/build-storybook.yml +++ b/.github/workflows/build-storybook.yml @@ -3,7 +3,12 @@ on: push: branches: - develop - paths: ['web/stories/**', 'web/components/**', 'web/.storybook/**'] # Trigger the action only when files change in the folders defined here + paths: [ + 'web/stories/**', + 'web/components/**', + 'web/.storybook/**', + 'web/i18n/**', + ] # Trigger the action only when files change in the folders defined here jobs: build-and-deploy: diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 6b1f9d10b..89d1b8685 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -3,7 +3,7 @@ name: Translation job on: schedule: # Run the workflow every hour - - cron: "0 * * * *" + - cron: '0 * * * *' push: paths: - 'web/i18n/en/translation.json' @@ -51,12 +51,12 @@ jobs: CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} - - name: Commit changes - uses: EndBug/add-and-commit@v9 - with: - author_name: Owncast - author_email: owncast@owncast.online - message: 'Commit updated translations' - add: 'web/i18n/**' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # - name: Commit changes + # uses: EndBug/add-and-commit@v9 + # with: + # author_name: Owncast + # author_email: owncast@owncast.online + # message: 'Commit updated translations' + # add: 'web/i18n/**' + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}