Skip to content

Commit

Permalink
(d) Configure "i18n-weekly-pull" workflow for testing
Browse files Browse the repository at this point in the history
- Add `push` event trigger to trigger a run
- Show the diff instead of making a PR
  • Loading branch information
per1234 committed Jul 26, 2023
1 parent a861cca commit 2012f7f
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/i18n-weekly-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
schedule:
# run every monday at 2AM
- cron: '0 2 * * 1'
push:

jobs:
pull-from-transifex:
Expand Down Expand Up @@ -44,10 +45,13 @@ jobs:
TRANSIFEX_RESOURCE: ${{ secrets.TRANSIFEX_RESOURCE }}
TRANSIFEX_API_KEY: ${{ secrets.TRANSIFEX_API_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: Updated translation files
title: Update translation files
branch: i18n/translations-update
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- name: diff
run: git diff --color

# - name: Create Pull Request
# uses: peter-evans/create-pull-request@v5
# with:
# commit-message: Updated translation files
# title: Update translation files
# branch: i18n/translations-update
# author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

0 comments on commit 2012f7f

Please sign in to comment.