diff --git a/.github/workflows/cron-release.yml b/.github/workflows/cron-release.yml index 2a197db..97e2af8 100644 --- a/.github/workflows/cron-release.yml +++ b/.github/workflows/cron-release.yml @@ -60,7 +60,6 @@ jobs: git config --local user.name "cron-release workflow" git config --local user.email "pulp-ui+cron-release@example.com" - # FIXME: reuse i18n.yml? replace? - name: 'Update gettext' run: | npm run gettext:extract diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml deleted file mode 100644 index 93bbaec..0000000 --- a/.github/workflows/i18n.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: i18n - -on: - # allow running manually - workflow_dispatch: - # run weekly - schedule: - - cron: '30 5 * * 0' - -jobs: - i18n: - runs-on: ubuntu-latest - - strategy: - matrix: - branch: - - 'main' - - steps: - - - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - - - name: "extract strings" - run: | - npm install - npm run gettext:extract - - - name: "compile strings" - run: npm run gettext:compile - - - name: "commit" - run: | - git config --global user.name 'GH Actions' - git config --global user.email 'gh_actions@users.noreply.github.com' - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/pulp/pulp-ui.git - git add locale/ - if git commit -m "Automated updated of i18n strings on $(date +'%Y-%m-%d')"; then - git push --set-upstream origin - fi